PHP Class DataSift\Storyplayer\Cli\BaseCommand

Inheritance: extends Phix_Project\CliEngine\CliCommand
Show file Open project: datasift/storyplayer Class Usage Examples

Protected Properties

Property Type Description
$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

Public Methods

Method Description
__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 )

Method Details

__construct() public method

public __construct ( $injectables )

addFeature() public method

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

addFeatureSwitches() public method

public addFeatureSwitches ( )

initFeaturesAfterModulesAvailable() public method

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 method

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

Property Details

$features protected property

a list of the features that we've added to this command
protected array $features
return array

$injectables protected property

needed for when user presses CTRL+C
protected $injectables

$output protected property

we track this for convenience
protected $output

$playerList protected property

our list of players to execute
protected $playerList

$st protected property

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