PHP Класс Sylius\Bundle\CoreBundle\Context\SessionAndChannelBasedCartContext

Автор: Anna Walasek ([email protected])
Наследование: implements Sylius\Component\Order\Context\CartContextInterface
Показать файл Открыть проект

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

Метод Описание
__construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, string $sessionKeyName, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
getCart ( )

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

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

public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, string $sessionKeyName, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$sessionKeyName string
$channelContext Sylius\Component\Channel\Context\ChannelContextInterface
$orderRepository Sylius\Component\Core\Repository\OrderRepositoryInterface

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

public getCart ( )