更新时间: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