see
|
|
package
|
App\DataFixtures
|
Methods
BaseFixture constructor.
__construct(\Symfony\Component\DependencyInjection\ContainerInterface $container)
Arguments
$container
\Symfony\Component\DependencyInjection\ContainerInterface
Retrieve the current environment
getCurrentEnvironment() : string
Loads the fixtures by calling the abstract method on extended classes
load(\Doctrine\Common\Persistence\ObjectManager $manager)
Arguments
$manager
\Doctrine\Common\Persistence\ObjectManager
Loads the data from the fixture into the database
loadData(\Doctrine\Common\Persistence\ObjectManager $manager) : mixed
abstract
Arguments
$manager
\Doctrine\Common\Persistence\ObjectManager
Response
mixed
Properties
Object Manager for interface to database entities
manager : \Doctrine\Common\Persistence\ObjectManager
Type(s)
\Doctrine\Common\Persistence\ObjectManager
The dependency injection container.
container : \Symfony\Component\DependencyInjection\ContainerInterface
Type(s)
\Symfony\Component\DependencyInjection\ContainerInterface