protected function storeInSession(BasketInterface $basket) { $this->session->set($this->getSessionVarName($basket->getCustomer()), $basket); }