DataSift\Storyplayer\PlayerLib\Story_Player::__construct PHP Метод

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

public __construct ( $storyFilename, DataSift\Storyplayer\Injectables $injectables )
$injectables DataSift\Storyplayer\Injectables
    public function __construct($storyFilename, Injectables $injectables)
    {
        $this->storyFilename = $storyFilename;
        $this->startupPhases = $injectables->activeConfig->getArray('storyplayer.phases.beforeStory');
        $this->storyPhases = $injectables->activeConfig->getArray('storyplayer.phases.story');
        $this->shutdownPhases = $injectables->activeConfig->getArray('storyplayer.phases.afterStory');
    }