Property | Type | Description | |
---|---|---|---|
$backend | Sonata\NotificationBundle\Backend\BackendInterface | ||
$orderManager | Sonata\Component\Order\OrderManagerInterface | ||
$transactionManager | Sonata\CoreBundle\Model\ManagerInterface |
Method | Description | |
---|---|---|
__construct ( Sonata\Component\Order\OrderManagerInterface $orderManager, Sonata\CoreBundle\Model\ManagerInterface $transactionManager, Sonata\NotificationBundle\Backend\BackendInterface $backend ) | ||
process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) |
Method | 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 | |
return | Sonata\Component\Order\OrderInterface |
protected getTransaction ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Payment\TransactionInterface | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent | |
return | Sonata\Component\Payment\TransactionInterface |
public process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent |
protected BackendInterface,Sonata\NotificationBundle\Backend $backend | ||
return | Sonata\NotificationBundle\Backend\BackendInterface |
protected OrderManagerInterface,Sonata\Component\Order $orderManager | ||
return | Sonata\Component\Order\OrderManagerInterface |