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