/** * * * @return string * @static */ public static function checkout() { return \App\Werashop\Cart\SessionDrivenCart::checkout(); }
/** * Register the application services. * * @return void */ public function register() { $this->app->bind('cart', function ($app) { return SessionDrivenCart::getInstance(); }); }