. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. namespace App\Providers; use App\Libraries\Session\SessionManager; class SessionServiceProvider extends \Illuminate\Session\SessionServiceProvider { /** * Register the session manager instance. * * @return void */ protected function registerSessionManager() { $this->app->singleton('session', function ($app) { return new SessionManager($app); }); } }