Behat\Behat\Context\Cli\ContextSnippetsController::execute PHP Method

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function execute(InputInterface $input, OutputInterface $output)
    {
        $this->generator->setContextIdentifier(new AggregateContextIdentifier(array(new ContextInterfaceBasedContextIdentifier(), new FixedContextIdentifier($input->getOption('snippets-for')), new InteractiveContextIdentifier($this->translator, $input, $output))));
        $this->generator->setPatternIdentifier(new AggregatePatternIdentifier(array(new ContextInterfaceBasedPatternIdentifier(), new FixedPatternIdentifier($input->getOption('snippets-type')))));
    }
ContextSnippetsController