PHP Class DataSift\Storyplayer\PlayerLib\Story_Player

Datei anzeigen Open project: datasift/storyplayer

Protected Properties

Property Type Description
$shutdownPhases array a list of the phases that we need to run once the story has finished
$startupPhases array a list of the phases we need to run to get everything ready to run the actual story
$storyFilename string path to the story that we are going to play
$storyPhases array a list of the phases that make up the story

Public Methods

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

Method Details

__construct() public method

public __construct ( $storyFilename, 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

$shutdownPhases protected_oe property

a list of the phases that we need to run once the story 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 actual story
protected array $startupPhases
return array

$storyFilename protected_oe property

path to the story that we are going to play
protected string $storyFilename
return string

$storyPhases protected_oe property

a list of the phases that make up the story
protected array $storyPhases
return array