我安装了FOSRestBundle
,但它需要JMSSerializerBundle
.
我在我的部门中添加了下一行:
[JMSSerializerBundle]
git=git://github.com/schmittjoh/JMSSerializerBundle.git
target=bundles/JMS/SerializerBundle
在这里它解释了如何做到这一点:http: //jmsyst.com/bundles/JMSSerializerBundle/master/installation
但是当我尝试时$php bin/vendors install
,它显示了一个错误:
[InvalidArgumentException]
The service definition "jms_serializer.serializer" does not exist.