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

@param CustomerInterface $customer
Clears the baskets in session .