public __construct ( Symfony\Component\Translation\TranslatorInterface $translator ) | ||
$translator | Symfony\Component\Translation\TranslatorInterface | Translator used for messages |
public function __construct(TranslatorInterface $translator)
{
$this->translator = $translator;
}