Property | Type | Description | |
---|---|---|---|
$mailer | Swift_Mailer | Mailer | |
$pageRepository | Elcodi\Component\Page\Repository\PageRepository | Page repository | |
$store | Elcodi\Component\Store\Entity\Interfaces\StoreInterface | Store | |
$twig | Twig_Environment | Twig |
Method | Description | |
---|---|---|
__construct ( Swift_Mailer $mailer, Twig_Environment $twig, Elcodi\Component\Page\Repository\PageRepository $pageRepository, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, |
Construct |
Method | Description | |
---|---|---|
sendEmail ( string $emailName, array $context, string $receiverEmail ) | Send email |
public __construct ( Swift_Mailer $mailer, Twig_Environment $twig, Elcodi\Component\Page\Repository\PageRepository $pageRepository, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, |
||
$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 | A template locator |
protected PageRepository,Elcodi\Component\Page\Repository $pageRepository | ||
return | Elcodi\Component\Page\Repository\PageRepository |
protected StoreInterface,Elcodi\Component\Store\Entity\Interfaces $store | ||
return | Elcodi\Component\Store\Entity\Interfaces\StoreInterface |