ContainerAwareLoader

class ContainerAwareLoader extends Loader

Doctrine data fixtures loader that injects the service container into fixture objects that implement ContainerAwareInterface.

Note: Use of this class requires the Doctrine data fixtures extension, which is a suggested dependency for Symfony.

Methods

__construct(ContainerInterface $container)

Constructor.

addFixture(FixtureInterface $fixture)

{@inheritdoc}

Details

__construct(ContainerInterface $container)

Constructor.

Parameters

ContainerInterface $container A ContainerInterface instance

addFixture(FixtureInterface $fixture)

{@inheritdoc}

Parameters

FixtureInterface $fixture
doc_Symfony
2016-10-28 06:11:54
Comments
Leave a Comment

Please login to continue.