/** * Get recipient name * * @return string */ public function getName() { return $this->user->getFullName(); }
public function sendRiaUserResetPasswordEmail(User $ria, User $riaUser, $newPassword) { $template = $this->parameters['template']['ria_user_reset_password']; $context = array('ria_name' => $ria->getFullName(), 'new_password' => $newPassword, 'logo' => $this->router->getContext()->getHost() . '/img/logo.png'); $this->sendMessage($template, $this->parameters['from_email']['ria_user_reset_password'], $riaUser->getEmail(), $context); }