PHP Class WellCommerce\Bundle\OrderBundle\EventListener\OrderSubscriber

Author: Adam Piotrowski ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
ファイルを表示 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
__construct ( OrderVisitorTraverser $orderVisitorTraverser ) OrderSubscriber constructor.
getSubscribedEvents ( )
onOrderChangedEvent ( WellCommerce\Bundle\DoctrineBundle\Event\EntityEvent $event )

Method Details

__construct() public method

OrderSubscriber constructor.
public __construct ( OrderVisitorTraverser $orderVisitorTraverser )
$orderVisitorTraverser WellCommerce\Bundle\OrderBundle\Visitor\OrderVisitorTraverser

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onOrderChangedEvent() public method

public onOrderChangedEvent ( WellCommerce\Bundle\DoctrineBundle\Event\EntityEvent $event )
$event WellCommerce\Bundle\DoctrineBundle\Event\EntityEvent