PHP Класс Neos\Flow\Core\Booting\Sequence

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$identifier string
$steps array

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный Метод

public __construct ( string $identifier )
$identifier string

addStep() публичный Метод

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
Результат void

invoke() публичный Метод

Executes all steps of this sequence
public invoke ( Bootstrap $bootstrap ) : void
$bootstrap Neos\Flow\Core\Bootstrap
Результат void

invokeStep() защищенный Метод

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
Результат void

removeStep() публичный Метод

Removes all occurrences of the specified step from this sequence
public removeStep ( string $stepIdentifier ) : void
$stepIdentifier string
Результат void

Описание свойств

$identifier защищенное свойство

protected string $identifier
Результат string

$steps защищенное свойство

protected array $steps
Результат array