protected function clearSession(CustomerInterface $customer) { $this->session->remove($this->getSessionVarName($customer)); $this->session->remove($this->getSessionVarName()); }