LoadFixtures
extends Command
-
#[AsCommand]
-
$name: 'application:fixtures:load'
-
$description: 'Seed the database with data fixtures.'
Table of Contents
Constants
-
FIXTURES
= [
// './module/Activity/test/Seeder',
// './module/Company/test/Seeder',
'./module/Decision/test/Seeder',
// './module/Education/test/Seeder',
// './module/Frontpage/test/Seeder',
// './module/Photo/test/Seeder',
'./module/User/test/Seeder',
]
Properties
-
$entityManager
: EntityManager
Methods
-
__construct()
: mixed
-
execute()
: int
FIXTURES
private
mixed
FIXTURES
= [
// './module/Activity/test/Seeder',
// './module/Company/test/Seeder',
'./module/Decision/test/Seeder',
// './module/Education/test/Seeder',
// './module/Frontpage/test/Seeder',
// './module/Photo/test/Seeder',
'./module/User/test/Seeder',
]
$entityManager
read-only
private
EntityManager
$entityManager
__construct()
public
__construct(EntityManager $entityManager) : mixed
Parameters
-
$entityManager
: EntityManager
-
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-