工作筆記(2):Symfony2 SyliusCartBundle
在Symfony 2.7 中安装 Sylius Cart Bundle,参考官方文档
[http://docs.sylius.org/en/latest/bundles/SyliusCartBundle/installation.html#creating-itemresolver-service]
。
在官方文档步骤1.3. Creating ItemResolver service 中配置service时,因为用了YAML,应配置如下:
# app/config/services.yml
services:
...
app.