PHP Class Sylius\Bundle\CoreBundle\EventListener\OrderCustomerIpListener

Author: Mateusz Zalewski ([email protected])
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface $ipAssigner, Symfony\Component\HttpFoundation\RequestStack $requestStack )
assignCustomerIpToOrder ( Symfony\Component\EventDispatcher\GenericEvent $event )

Method Details

__construct() public method

public __construct ( Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface $ipAssigner, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$ipAssigner Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack

assignCustomerIpToOrder() public method

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