Methods
BaseFixture constructor.
__construct(\Symfony\Component\DependencyInjection\ContainerInterface $container)
inherited
Arguments
$container
\Symfony\Component\DependencyInjection\ContainerInterface
Retrieve the current environment
getCurrentEnvironment() : string
inherited
Returns the environment types
{@inheritDoc}
getEnvironments() : array
Get the order of this fixture
getOrder() : integer
Loads the fixtures by calling the abstract method on extended classes
load(\Doctrine\Common\Persistence\ObjectManager $manager)
inherited
Arguments
$manager
\Doctrine\Common\Persistence\ObjectManager
Loads the data from the fixture into the database
loadData(\Doctrine\Common\Persistence\ObjectManager $manager) : mixed
inherited abstract
Arguments
$manager
\Doctrine\Common\Persistence\ObjectManager
Response
mixed
Constants
Groups reference for trains
GROUPS_TRAINS
Groups reference for buses
GROUPS_BUSES
Properties
Object Manager for interface to database entities
manager : \Doctrine\Common\Persistence\ObjectManager
inherited
Type(s)
\Doctrine\Common\Persistence\ObjectManager
The dependency injection container.
container : \Symfony\Component\DependencyInjection\ContainerInterface
inherited
Type(s)
\Symfony\Component\DependencyInjection\ContainerInterface