src/Behat/Behat/Snippet/SnippetRegistry.php
public function registerUndefinedStep(Environment $environment, StepNode $step)
    {
        $this->undefinedSteps[] = new UndefinedStep($environment, $step);
        $this->snippetsGenerated = false;
    }
public function registerUndefinedStep(Environment $environment, StepNode $step)
    {
        $this->undefinedSteps[] = new UndefinedStep($environment, $step);
        $this->snippetsGenerated = false;
    }
public function registerUndefinedStep ( Environment $ environment , StepNode $ step ) { $ this -> undefinedSteps [ ] = new UndefinedStep ( $ environment , $ step ) ; $ this -> snippetsGenerated = false ; }
Generates and registers snippet.

@param Environment $environment
@param StepNode    $step

@return null|Snippet
Generates and registers snippet .