Method | Description | |
---|---|---|
it_does_nothing_if_channel_could_not_be_found ( Sylius\Component\Channel\Context\ChannelContextInterface $channelContext ) | ||
it_implements_cart_context_interface ( ) | ||
it_is_initializable ( ) | ||
it_returns_uncompleted_cart_for_currently_logged_user ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\OrderInterface $order, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
it_throws_exception_if_no_cart_can_be_provided ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
it_throws_exception_if_there_is_no_logged_in_customer ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext ) | ||
let ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) |
public it_does_nothing_if_channel_could_not_be_found ( Sylius\Component\Channel\Context\ChannelContextInterface $channelContext ) | ||
$channelContext | Sylius\Component\Channel\Context\ChannelContextInterface |
public it_implements_cart_context_interface ( ) |
public it_returns_uncompleted_cart_for_currently_logged_user ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\OrderInterface $order, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
$channel | Sylius\Component\Core\Model\ChannelInterface | |
$channelContext | Sylius\Component\Channel\Context\ChannelContextInterface | |
$customerContext | Sylius\Component\Customer\Context\CustomerContextInterface | |
$customer | Sylius\Component\Core\Model\CustomerInterface | |
$order | Sylius\Component\Core\Model\OrderInterface | |
$orderRepository | Sylius\Component\Core\Repository\OrderRepositoryInterface |
public it_throws_exception_if_no_cart_can_be_provided ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
$channel | Sylius\Component\Core\Model\ChannelInterface | |
$channelContext | Sylius\Component\Channel\Context\ChannelContextInterface | |
$customerContext | Sylius\Component\Customer\Context\CustomerContextInterface | |
$customer | Sylius\Component\Core\Model\CustomerInterface | |
$orderRepository | Sylius\Component\Core\Repository\OrderRepositoryInterface |
public it_throws_exception_if_there_is_no_logged_in_customer ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext ) | ||
$customerContext | Sylius\Component\Customer\Context\CustomerContextInterface |
public let ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository ) | ||
$customerContext | Sylius\Component\Customer\Context\CustomerContextInterface | |
$channelContext | Sylius\Component\Channel\Context\ChannelContextInterface | |
$orderRepository | Sylius\Component\Core\Repository\OrderRepositoryInterface |