I'm new user of laravel and moltin, I was trying a tutorial with moltin but i had this error :
FatalErrorException Using $this when not in object context
public function register()
{
$this->app->singleton('cart', function() {
return new Cart($this->getStorageService(), $this->getIdentifierService());
});
}
Hello,
I'm new user of laravel and moltin, I was trying a tutorial with moltin but i had this error : FatalErrorException Using $this when not in object context
Please Help !!!