src/Parser/StoryMetrics.php
public function createStory(string $name, RuleInterface ...$rules): Story
    {
        $story = new Story($name, ...$rules);
        $this->addStories($story);

        return $story;
    }
public function createStory(string $name, RuleInterface ...$rules): Story
    {
        $story = new Story($name, ...$rules);
        $this->addStories($story);

        return $story;
    }
public function createStory ( string $ name , RuleInterface ... $ rules ) : Story { $ story = new Story ( $ name , ... $ rules ) ; $ this -> addStories ( $ story ) ; return $ story ; }
Create a story from rules and add to book

@param string $name
@param RuleInterface ...$rules
@return Story
Create a story from rules and add to book