Свойство | Тип | Описание | |
---|---|---|---|
$backend | Sonata\NotificationBundle\Backend\BackendInterface | ||
$orderManager | Sonata\Component\Order\OrderManagerInterface | ||
$transactionManager | Sonata\CoreBundle\Model\ManagerInterface |
Метод | Описание | |
---|---|---|
__construct ( Sonata\Component\Order\OrderManagerInterface $orderManager, Sonata\CoreBundle\Model\ManagerInterface $transactionManager, Sonata\NotificationBundle\Backend\BackendInterface $backend ) | ||
process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) |
Метод | Описание | |
---|---|---|
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 | |
Результат | Sonata\Component\Order\OrderInterface |
protected getTransaction ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Payment\TransactionInterface | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent | |
Результат | Sonata\Component\Payment\TransactionInterface |
public process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) | ||
$event | Sonata\NotificationBundle\Consumer\ConsumerEvent |
protected BackendInterface,Sonata\NotificationBundle\Backend $backend | ||
Результат | Sonata\NotificationBundle\Backend\BackendInterface |
protected OrderManagerInterface,Sonata\Component\Order $orderManager | ||
Результат | Sonata\Component\Order\OrderManagerInterface |