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());
}