DataSift\Storyplayer\PlayerLib\Story::setParams PHP Method

setParams() public method

Parameters are a way of passing settings between Stories and StoryTemplates. Order of precedence: 1) Story 2) StoryTemplates (in 'basedOn()' order) (templates cannot override each other)
public setParams ( array $defaults )
$defaults array a list of the parameters for this story
    public function setParams($defaults)
    {
        $this->params = $defaults;
        return $this;
    }