/** * @param MailerInterface $mailer * @return bool */ public function handle(MailerInterface $mailer) { $mailer->setData($this->data); $mailer->send(); }