PHP Класс DataSift\Storyplayer\Cli\BaseCommand

Автор: Stuart Herbert ([email protected])
Наследование: extends Phix_Project\CliEngine\CliCommand
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$features array a list of the features that we've added to this command
$injectables needed for when user presses CTRL+C
$output we track this for convenience
$playerList our list of players to execute
$st we need to track this for handling CTRL-C

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

Метод Описание
__construct ( $injectables )
addFeature ( DataSift\Storyplayer\Cli\Feature $feature )
addFeatureSwitches ( )
initFeaturesAfterModulesAvailable ( StoryTeller $st, Phix_Project\CliEngine $engine, DataSift\Storyplayer\Injectables $injectables )
initFeaturesBeforeModulesAvailable ( Phix_Project\CliEngine $engine )

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

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

public __construct ( $injectables )

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

public addFeature ( DataSift\Storyplayer\Cli\Feature $feature )
$feature DataSift\Storyplayer\Cli\Feature

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

public addFeatureSwitches ( )

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

public initFeaturesAfterModulesAvailable ( StoryTeller $st, Phix_Project\CliEngine $engine, DataSift\Storyplayer\Injectables $injectables )
$st DataSift\Storyplayer\PlayerLib\StoryTeller
$engine Phix_Project\CliEngine
$injectables DataSift\Storyplayer\Injectables

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

public initFeaturesBeforeModulesAvailable ( Phix_Project\CliEngine $engine )
$engine Phix_Project\CliEngine

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

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

a list of the features that we've added to this command
protected array $features
Результат array

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

needed for when user presses CTRL+C
protected $injectables

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

we track this for convenience
protected $output

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

our list of players to execute
protected $playerList

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

we need to track this for handling CTRL-C
protected $st