Open phuclh opened 9 years ago
I can not call static method like your documents.
I got this message: Non-static method Moltin\Cart\Cart::insert() should not be called statically, assuming $this from incompatible context
Non-static method Moltin\Cart\Cart::insert() should not be called statically, assuming $this from incompatible context
Thank you :D.
The methods in the cart cannot be called statically. The Laravel façade looks like they are static, but the service provider actually sets up a singleton in the laravel container.
I can not call static method like your documents.
I got this message:
Non-static method Moltin\Cart\Cart::insert() should not be called statically, assuming $this from incompatible context
Thank you :D.