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

__construct() public method

Initialises controller.
public __construct ( ContextSnippetGenerator $generator, Symfony\Component\Translation\TranslatorInterface $translator )
$generator Behat\Behat\Context\Snippet\Generator\ContextSnippetGenerator
$translator Symfony\Component\Translation\TranslatorInterface
    public function __construct(ContextSnippetGenerator $generator, TranslatorInterface $translator)
    {
        $this->generator = $generator;
        $this->translator = $translator;
    }
ContextSnippetsController