Overtrue\LaravelShoppingCart\Cart::getCart PHP 메소드

getCart() 보호된 메소드

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