PHP Class Sylius\Bundle\CoreBundle\EventListener\ReviewCreateListener

Author: Mateusz Zalewski ([email protected])
Exibir arquivo Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext )
ensureReviewHasAuthor ( Symfony\Component\EventDispatcher\GenericEvent $event )

Method Details

__construct() public method

public __construct ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext )
$customerContext Sylius\Component\Customer\Context\CustomerContextInterface

ensureReviewHasAuthor() public method

public ensureReviewHasAuthor ( Symfony\Component\EventDispatcher\GenericEvent $event )
$event Symfony\Component\EventDispatcher\GenericEvent