Documentation

LoadFixtures extends Command
in package

Attributes
#[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

Constants

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', ]

Properties

$entityManager read-only

private EntityManager $entityManager

Methods

__construct()

public __construct(EntityManager $entityManager) : mixed
Parameters
$entityManager : EntityManager

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

        
On this page

Search results