DataSift\Storyplayer\PlayerLib\StoryTeller::getParams PHP Method

getParams() public method

public getParams ( ) : array
return array
    public function getParams()
    {
        // get the current parameters from the story
        //
        // NOTE that we deliberately don't cache $return in here, as
        // the parameters storied in the story can (in theory) change
        // at any moment
        //
        // NOTE that these are (deliberately) completely independent
        // from anything set using -D on the command-line
        //
        // parameters are now simply a way for stories to pass settings
        // into StoryTemplates that they are based upon, nothing more
        return $this->getStory()->getParams();
    }