DataFixtures\ContainerAwareLoader (Bridge\Doctrine)
Symfony\Bridge\Doctrine\DataFixtures\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
public __construct(ContainerInterface $container)
Constructor.
public addFixture(FixtureInterface $fixture)
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.html