Property | Type | Description | |
---|---|---|---|
$basketBuilder | Sonata\Component\Basket\BasketBuilderInterface | ||
$basketManager | Sonata\Component\Basket\BasketManagerInterface | ||
$currencyDetector | Sonata\Component\Currency\CurrencyDetectorInterface | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface |
Method | Description | |
---|---|---|
__construct ( Sonata\Component\Basket\BasketManagerInterface $basketManager, Sonata\Component\Basket\BasketBuilderInterface $basketBuilder, Sonata\Component\Currency\CurrencyDetectorInterface $currencyDetector, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) | ||
load ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
reset ( Sonata\Component\Basket\BasketInterface $basket, $full = true ) | ||
save ( Sonata\Component\Basket\BasketInterface $basket ) |
public __construct ( Sonata\Component\Basket\BasketManagerInterface $basketManager, Sonata\Component\Basket\BasketBuilderInterface $basketBuilder, Sonata\Component\Currency\CurrencyDetectorInterface $currencyDetector, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) | ||
$basketManager | Sonata\Component\Basket\BasketManagerInterface | |
$basketBuilder | Sonata\Component\Basket\BasketBuilderInterface | |
$currencyDetector | Sonata\Component\Currency\CurrencyDetectorInterface | |
$session | Symfony\Component\HttpFoundation\Session\SessionInterface |
public load ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
$customer | Sonata\Component\Customer\CustomerInterface |
public reset ( Sonata\Component\Basket\BasketInterface $basket, $full = true ) | ||
$basket | Sonata\Component\Basket\BasketInterface |
public save ( Sonata\Component\Basket\BasketInterface $basket ) | ||
$basket | Sonata\Component\Basket\BasketInterface |
protected BasketBuilderInterface,Sonata\Component\Basket $basketBuilder | ||
return | Sonata\Component\Basket\BasketBuilderInterface |
protected BasketManagerInterface,Sonata\Component\Basket $basketManager | ||
return | Sonata\Component\Basket\BasketManagerInterface |
protected CurrencyDetectorInterface,Sonata\Component\Currency $currencyDetector | ||
return | Sonata\Component\Currency\CurrencyDetectorInterface |