PHP Class DataSift\Storyplayer\PlayerLib\Script_Player

Datei anzeigen Open project: datasift/storyplayer

Protected Properties

Property Type Description
$scriptFilename string path to the script that we are going to run
$scriptPhases array a list of the phases that make up the script
$shutdownPhases array a list of the phases that we need to run once the script has finished
$startupPhases array a list of the phases we need to run to get everything ready to run the script

Public Methods

Method Description
__construct ( $scriptFilename, DataSift\Storyplayer\Injectables $injectables )
play ( StoryTeller $st, DataSift\Storyplayer\Injectables $injectables )

Method Details

__construct() public method

public __construct ( $scriptFilename, DataSift\Storyplayer\Injectables $injectables )
$injectables DataSift\Storyplayer\Injectables

play() public method

public play ( StoryTeller $st, DataSift\Storyplayer\Injectables $injectables )
$st StoryTeller
$injectables DataSift\Storyplayer\Injectables

Property Details

$scriptFilename protected_oe property

path to the script that we are going to run
protected string $scriptFilename
return string

$scriptPhases protected_oe property

a list of the phases that make up the script
protected array $scriptPhases
return array

$shutdownPhases protected_oe property

a list of the phases that we need to run once the script has finished
protected array $shutdownPhases
return array

$startupPhases protected_oe property

a list of the phases we need to run to get everything ready to run the script
protected array $startupPhases
return array