Skip to content

Commit

Permalink
Merge pull request FriendsOfSymfony#1039 from aderuwe/mailer-fix-1
Browse files Browse the repository at this point in the history
Fix phpdoc
  • Loading branch information
stof committed Mar 15, 2013
2 parents 7efda22 + d4c69aa commit fd5afdb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Mailer/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public function __construct($mailer, RouterInterface $router, EngineInterface $t
$this->parameters = $parameters;
}

/**
* {@inheritdoc}
*/
public function sendConfirmationEmailMessage(UserInterface $user)
{
$template = $this->parameters['confirmation.template'];
Expand All @@ -45,6 +48,9 @@ public function sendConfirmationEmailMessage(UserInterface $user)
$this->sendEmailMessage($rendered, $this->parameters['from_email']['confirmation'], $user->getEmail());
}

/**
* {@inheritdoc}
*/
public function sendResettingEmailMessage(UserInterface $user)
{
$template = $this->parameters['resetting.template'];
Expand All @@ -58,6 +64,7 @@ public function sendResettingEmailMessage(UserInterface $user)

/**
* @param string $renderedTemplate
* @param string $fromEmail
* @param string $toEmail
*/
protected function sendEmailMessage($renderedTemplate, $fromEmail, $toEmail)
Expand Down

0 comments on commit fd5afdb

Please sign in to comment.