src/Behat/Gherkin/Node/ExampleNode.php
protected function createExampleSteps()
    {
        $steps = array();
        foreach ($this->outlineSteps as $outlineStep) {
            $keyword = $outlineStep->getKeyword();
            $keywordType = $outlineStep->getKeywordType();
            $text = $this->replaceTextTokens($outlineStep->getText());
            $args = $this->replaceArgumentsTokens($outlineStep->getArguments());
            $line = $outlineStep->getLine();

            $steps[] = new StepNode($keyword, $text, $args, $line, $keywordType);
        }

        return $steps;
    }
protected function createExampleSteps()
    {
        $steps = array();
        foreach ($this->outlineSteps as $outlineStep) {
            $keyword = $outlineStep->getKeyword();
            $keywordType = $outlineStep->getKeywordType();
            $text = $this->replaceTextTokens($outlineStep->getText());
            $args = $this->replaceArgumentsTokens($outlineStep->getArguments());
            $line = $outlineStep->getLine();

            $steps[] = new StepNode($keyword, $text, $args, $line, $keywordType);
        }

        return $steps;
    }
protected function createExampleSteps ( ) { $ steps = array ( ) ; foreach ( $ this -> outlineSteps as $ outlineStep ) { $ keyword = $ outlineStep -> getKeyword ( ) ; $ keywordType = $ outlineStep -> getKeywordType ( ) ; $ text = $ this -> replaceTextTokens ( $ outlineStep -> getText ( ) ) ; $ args = $ this -> replaceArgumentsTokens ( $ outlineStep -> getArguments ( ) ) ; $ line = $ outlineStep -> getLine ( ) ; $ steps [ ] = new StepNode ( $ keyword , $ text , $ args , $ line , $ keywordType ) ; } return $ steps ; }
Creates steps for this example from abstract outline steps.

@return StepNode[]
Creates steps for this example from abstract outline steps .