PHP Class Ojs\JournalBundle\Listeners\AbstractJournalItemMailer

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostra file Open project: ojs/ojs

Protected Properties

Property Type Description
$em Doctrine\ORM\EntityManager
$ojsMailer Ojs\CoreBundle\Service\OjsMailer
$router Symfony\Component\Routing\RouterInterface
$user FOS\UserBundle\Model\UserInterface

Public Methods

Method Description
__construct ( OjsMailer $ojsMailer, Symfony\Bridge\Doctrine\RegistryInterface $registry, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Routing\RouterInterface $router ) AbstractJournalItemMailer constructor.

Protected Methods

Method Description
sendMail ( Ojs\JournalBundle\Event\JournalItemEvent $itemEvent, $item, $action )

Method Details

__construct() public method

AbstractJournalItemMailer constructor.
public __construct ( OjsMailer $ojsMailer, Symfony\Bridge\Doctrine\RegistryInterface $registry, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Routing\RouterInterface $router )
$ojsMailer Ojs\CoreBundle\Service\OjsMailer
$registry Symfony\Bridge\Doctrine\RegistryInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$router Symfony\Component\Routing\RouterInterface

sendMail() protected method

protected sendMail ( Ojs\JournalBundle\Event\JournalItemEvent $itemEvent, $item, $action )
$itemEvent Ojs\JournalBundle\Event\JournalItemEvent

Property Details

$em protected_oe property

protected EntityManager,Doctrine\ORM $em
return Doctrine\ORM\EntityManager

$ojsMailer protected_oe property

protected OjsMailer,Ojs\CoreBundle\Service $ojsMailer
return Ojs\CoreBundle\Service\OjsMailer

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
return Symfony\Component\Routing\RouterInterface

$user protected_oe property

protected UserInterface,FOS\UserBundle\Model $user
return FOS\UserBundle\Model\UserInterface