Alex\BehatLauncher\Twig\DateExtension::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\Translation\TranslatorInterface $translator )
$translator Symfony\Component\Translation\TranslatorInterface
    public function __construct(TranslatorInterface $translator)
    {
        $this->translator = $translator;
    }