src/Behat/Behat/Snippet/Cli/SnippetsController.php
public function registerUndefinedStep(AfterStepTested $event)
    {
        if (StepResult::UNDEFINED === $event->getTestResult()->getResultCode()) {
            $this->registry->registerUndefinedStep($event->getEnvironment(), $event->getStep());
        }
    }
public function registerUndefinedStep(AfterStepTested $event)
    {
        if (StepResult::UNDEFINED === $event->getTestResult()->getResultCode()) {
            $this->registry->registerUndefinedStep($event->getEnvironment(), $event->getStep());
        }
    }
public function registerUndefinedStep ( AfterStepTested $ event ) { if ( StepResult :: UNDEFINED === $ event -> getTestResult ( ) -> getResultCode ( ) ) { $ this -> registry -> registerUndefinedStep ( $ event -> getEnvironment ( ) , $ event -> getStep ( ) ) ; } }
Registers undefined step.

@param AfterStepTested $event
Registers undefined step .