src/Behat/Behat/Context/Snippet/Generator/ContextSnippetGenerator.php
private function getMethodArguments(StepNode $step, $tokenCount)
    {
        $args = array();
        for ($i = 0; $i < $tokenCount; $i++) {
            $args[] = '$arg' . ($i + 1);
        }

        foreach ($step->getArguments() as $argument) {
            $args[] = $this->getMethodArgument($argument);
        }

        return $args;
    }
private function getMethodArguments(StepNode $step, $tokenCount)
    {
        $args = array();
        for ($i = 0; $i < $tokenCount; $i++) {
            $args[] = '$arg' . ($i + 1);
        }

        foreach ($step->getArguments() as $argument) {
            $args[] = $this->getMethodArgument($argument);
        }

        return $args;
    }
private function getMethodArguments ( StepNode $ step , $ tokenCount ) { $ args = array ( ) ; for ( $ i = 0 ; $ i < $ tokenCount ; $ i ++ ) { $ args [ ] = '$arg' . ( $ i + 1 ) ; } foreach ( $ step -> getArguments ( ) as $ argument ) { $ args [ ] = $ this -> getMethodArgument ( $ argument ) ; } return $ args ; }
Returns an array of method argument names from step and token count.

@param StepNode $step
@param integer  $tokenCount

@return string[]
Returns an array of method argument names from step and token count .