PHP 클래스 Sonata\PaymentBundle\Consumer\PaymentProcessOrderConsumer

저자: Sylvain Deloux ([email protected])
상속: implements Sonata\NotificationBundle\Consumer\ConsumerInterface
파일 보기 프로젝트 열기: sonata-project/ecommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

메소드 상세

__construct() 공개 메소드

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

getOrder() 보호된 메소드

Get the related Order.
protected getOrder ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Order\OrderInterface
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
리턴 Sonata\Component\Order\OrderInterface

getTransaction() 보호된 메소드

Get the related Transaction.
protected getTransaction ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event ) : Sonata\Component\Payment\TransactionInterface
$event Sonata\NotificationBundle\Consumer\ConsumerEvent
리턴 Sonata\Component\Payment\TransactionInterface

process() 공개 메소드

public process ( Sonata\NotificationBundle\Consumer\ConsumerEvent $event )
$event Sonata\NotificationBundle\Consumer\ConsumerEvent

프로퍼티 상세

$backend 보호되어 있는 프로퍼티

protected BackendInterface,Sonata\NotificationBundle\Backend $backend
리턴 Sonata\NotificationBundle\Backend\BackendInterface

$orderManager 보호되어 있는 프로퍼티

protected OrderManagerInterface,Sonata\Component\Order $orderManager
리턴 Sonata\Component\Order\OrderManagerInterface

$transactionManager 보호되어 있는 프로퍼티

protected ManagerInterface,Sonata\CoreBundle\Model $transactionManager
리턴 Sonata\CoreBundle\Model\ManagerInterface