ContainerAwareLoader
extends Loader
in package
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.
Table of Contents
Properties
- $container : mixed
Methods
- __construct() : mixed
- addFixture() : mixed
- {@inheritdoc}
Properties
$container
private
mixed
$container
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
addFixture()
{@inheritdoc}
public
addFixture(FixtureInterface $fixture) : mixed
Parameters
- $fixture : FixtureInterface