PHP Class Sulu\Bundle\DocumentManagerBundle\DataFixtures\DocumentExecutor
Given a set of fixture instances this class will (optionall)
purge and initialize the content repository before executing
the given fixture instances.
显示文件
Open project: sulu/sulu
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( Sulu\Component\DocumentManager\DocumentManager $documentManager, Initializer $initializer ) |
|
|
execute ( array $fixtures, mixed $purge = true, mixed $initialize = true, Symfony\Component\Console\Output\OutputInterface $output = null ) |
Load the given fixture classes. |
|
Method Details
__construct()
public method
public __construct ( Sulu\Component\DocumentManager\DocumentManager $documentManager, Initializer $initializer ) |
$documentManager |
Sulu\Component\DocumentManager\DocumentManager |
|
$initializer |
Sulu\Bundle\DocumentManagerBundle\Initializer\Initializer |
|
Load the given fixture classes.
public execute ( array $fixtures, mixed $purge = true, mixed $initialize = true, Symfony\Component\Console\Output\OutputInterface $output = null ) |
$fixtures |
array |
|
$purge |
mixed |
|
$initialize |
mixed |
|
$output |
Symfony\Component\Console\Output\OutputInterface |
|