PHP Class Ojs\JournalBundle\Listeners\AbstractJournalItemMailer

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: ojs/ojs

Protected Properties

Свойство Type Description
$em Doctrine\ORM\EntityManager
$ojsMailer Ojs\CoreBundle\Service\OjsMailer
$router Symfony\Component\Routing\RouterInterface
$user FOS\UserBundle\Model\UserInterface

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
sendMail ( Ojs\JournalBundle\Event\JournalItemEvent $itemEvent, $item, $action )

Method Details

__construct() public méthode

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 méthode

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
Résultat Doctrine\ORM\EntityManager

$ojsMailer protected_oe property

protected OjsMailer,Ojs\CoreBundle\Service $ojsMailer
Résultat Ojs\CoreBundle\Service\OjsMailer

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
Résultat Symfony\Component\Routing\RouterInterface

$user protected_oe property

protected UserInterface,FOS\UserBundle\Model $user
Résultat FOS\UserBundle\Model\UserInterface