PHP Class FOS\UserBundle\Util\Mailer

Inheritance: implements FOS\UserBundle\Util\MailerInterface
Afficher le fichier Open project: KnpLabs/KnpUserBundle

Protected Properties

Свойство Type Description
$mailer
$parameters
$router
$templating

Méthodes publiques

Méthode Description
__construct ( $mailer, Symfony\Component\Routing\RouterInterface $router, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, array $parameters )
sendConfirmationEmailMessage ( FOS\UserBundle\Model\UserInterface $user, $engine )
sendResettingEmailMessage ( FOS\UserBundle\Model\UserInterface $user, $engine )

Méthodes protégées

Méthode Description
getSenderEmail ( $type )
sendEmailMessage ( $renderedTemplate, $fromEmail, $toEmail )

Method Details

__construct() public méthode

public __construct ( $mailer, Symfony\Component\Routing\RouterInterface $router, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, array $parameters )
$router Symfony\Component\Routing\RouterInterface
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$parameters array

getSenderEmail() protected méthode

protected getSenderEmail ( $type )

sendConfirmationEmailMessage() public méthode

public sendConfirmationEmailMessage ( FOS\UserBundle\Model\UserInterface $user, $engine )
$user FOS\UserBundle\Model\UserInterface

sendEmailMessage() protected méthode

protected sendEmailMessage ( $renderedTemplate, $fromEmail, $toEmail )

sendResettingEmailMessage() public méthode

public sendResettingEmailMessage ( FOS\UserBundle\Model\UserInterface $user, $engine )
$user FOS\UserBundle\Model\UserInterface

Property Details

$mailer protected_oe property

protected $mailer

$parameters protected_oe property

protected $parameters

$router protected_oe property

protected $router

$templating protected_oe property

protected $templating