PHP Class Sylius\Bundle\CoreBundle\Context\CustomerAndChannelBasedCartContext

Author: Mateusz Zalewski ([email protected])
Inheritance: implements Sylius\Component\Order\Context\CartContextInterface
ファイルを表示 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Customer\Context\CustomerContextInterface $customerContext, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
getCart ( )

Method Details

__construct() public method

public __construct ( 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

getCart() public method

public getCart ( )