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