Crinsane / LaravelShoppingcart

A simple shopping cart implementation for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade'

Greatlegend12 opened this issue · comments

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade'

Screenshot (3)

The error above is what I get when trying to get cart content

** #public function cart()
{
return Cart::getcontent();
}**