PHP Класс Elcodi\Store\PageBundle\EventListener\Abstracts\AbstractEmailSenderEventListener

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$mailer Swift_Mailer Mailer
$pageRepository Elcodi\Component\Page\Repository\PageRepository Page repository
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$twig Twig_Environment Twig

Открытые методы

Метод Описание
__construct ( Swift_Mailer $mailer, Twig_Environment $twig, Elcodi\Component\Page\Repository\PageRepository $pageRepository, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, TemplateLocator $templateLocator ) Construct

Защищенные методы

Метод Описание
sendEmail ( string $emailName, array $context, string $receiverEmail ) Send email

Описание методов

__construct() публичный Метод

Construct
public __construct ( Swift_Mailer $mailer, Twig_Environment $twig, Elcodi\Component\Page\Repository\PageRepository $pageRepository, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, TemplateLocator $templateLocator )
$mailer Swift_Mailer Mailer
$twig Twig_Environment Twig
$pageRepository Elcodi\Component\Page\Repository\PageRepository Page repository
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$templateLocator Elcodi\Store\CoreBundle\Services\TemplateLocator A template locator

sendEmail() защищенный Метод

Send email
protected sendEmail ( string $emailName, array $context, string $receiverEmail )
$emailName string Email name
$context array Context
$receiverEmail string Receiver email

Описание свойств

$mailer защищенное свойство

Mailer
protected Swift_Mailer $mailer
Результат Swift_Mailer

$pageRepository защищенное свойство

Page repository
protected PageRepository,Elcodi\Component\Page\Repository $pageRepository
Результат Elcodi\Component\Page\Repository\PageRepository

$store защищенное свойство

Store
protected StoreInterface,Elcodi\Component\Store\Entity\Interfaces $store
Результат Elcodi\Component\Store\Entity\Interfaces\StoreInterface

$twig защищенное свойство

Twig
protected Twig_Environment $twig
Результат Twig_Environment