A simple shopping cart implementation for Laravel
3.67k
stars
1.73k
forks
source link
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade' #605
Open
Greatlegend12 opened 4 years ago
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to protected method Gloudemans\Shoppingcart\Cart::getcontent() from context 'Illuminate\Support\Facades\Facade'
The error above is what I get when trying to get cart content
#public function cart() { return Cart::getcontent(); }