protected function getCart()
    {
        $cart = $this->session->get($this->name);

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

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

@return \Illuminate\Support\Collection
Get the carts content .