public function __construct(Translator $translator) { parent::__construct(); $this->translator = $translator; }