且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Symfony学说找不到要加载的装置

更新时间:2023-11-19 17:05:10

根据您使用的灯具版本,您应该扩展/实现不同的类. 如果版本> = 3.0,则

Depending on what version of fixtures you use you should extend/implement different classes. If the version is >= 3.0 then

extend Fixture (use Doctrine\Bundle\FixturesBundle\Fixture;)

如果< 3.0

If < 3.0

implements FixtureInterface, ContainerAwareInterface