public function content()
    {
        if (is_null($this->session->get($this->instance))) {
            return new Collection([]);
        }

        return $this->session->get($this->instance);
    }
public function content()
    {
        if (is_null($this->session->get($this->instance))) {
            return new Collection([]);
        }

        return $this->session->get($this->instance);
    }
public function content ( ) { if ( is_null ( $ this -> session -> get ( $ this -> instance ) ) ) { return new Collection ( [ ] ) ; } return $ this -> session -> get ( $ this -> instance ) ; }
Get the content of the cart.

@return \Illuminate\Support\Collection
Get the content of the cart .