/** * {@inheritdoc} */ public function getCurrentCartIdentifier() { if ($this->hasCurrentCart()) { return $this->currentCart->getId(); } return null; }