PHP Класс spec\Sylius\Bundle\CoreBundle\EventListener\OrderCustomerIpListenerSpec

Автор: Mateusz Zalewski ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_is_initializable ( )
it_throws_exception_if_event_subject_is_not_order ( Symfony\Component\EventDispatcher\GenericEvent $event )
it_uses_assigner_to_assign_customer_ip_to_order ( Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface $ipAssigner, Sylius\Component\Core\Model\OrderInterface $order, Request $request, Symfony\Component\HttpFoundation\RequestStack $requestStack )
let ( Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface $ipAssigner, Symfony\Component\HttpFoundation\RequestStack $requestStack )

Описание методов

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_throws_exception_if_event_subject_is_not_order() публичный Метод

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

it_uses_assigner_to_assign_customer_ip_to_order() публичный Метод

public it_uses_assigner_to_assign_customer_ip_to_order ( Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface $ipAssigner, Sylius\Component\Core\Model\OrderInterface $order, Request $request, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$event Symfony\Component\EventDispatcher\GenericEvent
$ipAssigner Sylius\Bundle\CoreBundle\Assigner\IpAssignerInterface
$order Sylius\Component\Core\Model\OrderInterface
$request Symfony\Component\HttpFoundation\Request
$requestStack Symfony\Component\HttpFoundation\RequestStack

let() публичный Метод

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