PHP Class Neos\Flow\Core\Booting\Sequence

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$identifier string
$steps array

Méthodes publiques

Méthode Description
__construct ( string $identifier )
addStep ( Step $step, string $previousStepIdentifier = 'start' ) : void Adds the given step to this sequence, to be executed after then step specified by $previousStepIdentifier. If no previous step is specified, the new step is added to the list of steps executed right at the start of the sequence.
invoke ( Bootstrap $bootstrap ) : void Executes all steps of this sequence
removeStep ( string $stepIdentifier ) : void Removes all occurrences of the specified step from this sequence

Méthodes protégées

Méthode Description
invokeStep ( Step $step, Bootstrap $bootstrap ) : void Invokes a single step of this sequence and also invokes all steps registered to be executed after the given step.

Method Details

__construct() public méthode

public __construct ( string $identifier )
$identifier string

addStep() public méthode

Adds the given step to this sequence, to be executed after then step specified by $previousStepIdentifier. If no previous step is specified, the new step is added to the list of steps executed right at the start of the sequence.
public addStep ( Step $step, string $previousStepIdentifier = 'start' ) : void
$step Step The new step to add
$previousStepIdentifier string The preceding step
Résultat void

invoke() public méthode

Executes all steps of this sequence
public invoke ( Bootstrap $bootstrap ) : void
$bootstrap Neos\Flow\Core\Bootstrap
Résultat void

invokeStep() protected méthode

Invokes a single step of this sequence and also invokes all steps registered to be executed after the given step.
protected invokeStep ( Step $step, Bootstrap $bootstrap ) : void
$step Step The step to invoke
$bootstrap Neos\Flow\Core\Bootstrap
Résultat void

removeStep() public méthode

Removes all occurrences of the specified step from this sequence
public removeStep ( string $stepIdentifier ) : void
$stepIdentifier string
Résultat void

Property Details

$identifier protected_oe property

protected string $identifier
Résultat string

$steps protected_oe property

protected array $steps
Résultat array