Elcodi\Store\PageBundle\EventListener\Abstracts\AbstractEmailSenderEventListener::__construct PHP Метод

__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
    public function __construct(Swift_Mailer $mailer, Twig_Environment $twig, PageRepository $pageRepository, StoreInterface $store, TemplateLocator $templateLocator)
    {
        $this->mailer = $mailer;
        $this->twig = $twig;
        $this->pageRepository = $pageRepository;
        $this->store = $store;
        $this->templateLocator = $templateLocator;
    }
AbstractEmailSenderEventListener