src/Behat/Behat/Context/Snippet/Generator/ContextSnippetGenerator.php
private function getUsedClasses(StepNode $step)
    {
        $usedClasses = array('Behat\Behat\Tester\Exception\PendingException');

        foreach ($step->getArguments() as $argument) {
            if ($argument instanceof TableNode) {
                $usedClasses[] = 'Behat\Gherkin\Node\TableNode';
            } elseif ($argument instanceof PyStringNode) {
                $usedClasses[] = 'Behat\Gherkin\Node\PyStringNode';
            }
        }

        return $usedClasses;
    }
private function getUsedClasses(StepNode $step)
    {
        $usedClasses = array('Behat\Behat\Tester\Exception\PendingException');

        foreach ($step->getArguments() as $argument) {
            if ($argument instanceof TableNode) {
                $usedClasses[] = 'Behat\Gherkin\Node\TableNode';
            } elseif ($argument instanceof PyStringNode) {
                $usedClasses[] = 'Behat\Gherkin\Node\PyStringNode';
            }
        }

        return $usedClasses;
    }
private function getUsedClasses ( StepNode $ step ) { $ usedClasses = array ( 'Behat\Behat\Tester\Exception\PendingException' ) ; foreach ( $ step -> getArguments ( ) as $ argument ) { if ( $ argument instanceof TableNode ) { $ usedClasses [ ] = 'Behat\Gherkin\Node\TableNode' ; } elseif ( $ argument instanceof PyStringNode ) { $ usedClasses [ ] = 'Behat\Gherkin\Node\PyStringNode' ; } } return $ usedClasses ; }
Returns an array of classes used by the snippet template

@param StepNode $step

@return string[]
Returns an array of classes used by the snippet template