the browser-facing portion of osu!
1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6namespace App\Providers;
7
8use App\Libraries\Session\SessionManager;
9
10class SessionServiceProvider extends \Illuminate\Session\SessionServiceProvider
11{
12 /**
13 * Register the session manager instance.
14 *
15 * @return void
16 */
17 protected function registerSessionManager()
18 {
19 $this->app->singleton('session', function ($app) {
20 return new SessionManager($app);
21 });
22 }
23}