/** * Constructor. * * @param MailInterface $mail The mail */ public function __construct(MailInterface $mail) { $mail->addTranslation($this); $this->mail = $mail; }