Свойство | Type | Description | |
---|---|---|---|
$backend | Sonata\NotificationBundle\Backend\BackendInterface | ||
$orderManager | Sonata\Component\Order\OrderManagerInterface | ||
$transactionManager | Sonata\CoreBundle\Model\ManagerInterface |
Méthode | Description | |
---|---|---|
__construct ( Sonata\Component\Order\OrderManagerInterface $orderManager, Sonata\CoreBundle\Model\ManagerInterface $transactionManager, Sonata\NotificationBundle\Backend\BackendInterface $backend ) | ||
process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) |
Méthode | Description | |
---|---|---|
getOrder ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Order\OrderInterface | Get the related Order. | |
getTransaction ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Payment\TransactionInterface | Get the related Transaction. |
public __construct ( Sonata\Component\Order\OrderManagerInterface $orderManager, Sonata\CoreBundle\Model\ManagerInterface $transactionManager, Sonata\NotificationBundle\Backend\BackendInterface $backend ) | ||
$orderManager | Sonata\Component\Order\OrderManagerInterface | |
$transactionManager | Sonata\CoreBundle\Model\ManagerInterface | |
$backend | Sonata\NotificationBundle\Backend\BackendInterface |
protected getOrder ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Order\OrderInterface | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent | |
Résultat | Sonata\Component\Order\OrderInterface |
protected getTransaction ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Payment\TransactionInterface | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent | |
Résultat | Sonata\Component\Payment\TransactionInterface |
public process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent |
protected BackendInterface,Sonata\NotificationBundle\Backend $backend | ||
Résultat | Sonata\NotificationBundle\Backend\BackendInterface |
protected OrderManagerInterface,Sonata\Component\Order $orderManager | ||
Résultat | Sonata\Component\Order\OrderManagerInterface |