Sonata\Component\Basket\BaseBasketFactory::clearSession PHP Méthode

clearSession() protected méthode

Clears the baskets in session.
protected clearSession ( Sonata\Component\Customer\CustomerInterface $customer )
$customer Sonata\Component\Customer\CustomerInterface
    protected function clearSession(CustomerInterface $customer)
    {
        $this->session->remove($this->getSessionVarName($customer));
        $this->session->remove($this->getSessionVarName());
    }