protected function registerCookie() { $this->app->singleton('sentinel.cookie', function ($app) { return new IlluminateCookie($app['request'], $app['cookie'], $app['config']->get('cartalyst.sentinel.cookie')); }); }