protected function registerCookie()
    {
        // Registrar cookie
        $this->app->singleton('cookie', function ($app) {
            $config = $app['config']['session'];

            return new CookieManager($config['path'], $config['domain'], $config['secure']);
        });
    }