protected function getCart() { $cart = $this->session->get($this->name); return $cart instanceof Collection ? $cart : new Collection(); }