public function getCustomerId();
/** * {@inheritdoc} */ public function save(BasketInterface $basket) { if ($basket->getCustomerId()) { $this->basketManager->save($basket); } else { $this->session->set(BasketSessionFactory::SESSION_BASE_NAME . 'new', $basket); } }