src/Rairlie/LockingSession/LockingSessionServiceProvider.php
public function register()
    {
        $this->registerSessionManager();

        $this->registerSessionDriver();

        $this->app->singleton('Illuminate\Session\Middleware\StartSession', function ($app) {
            return new Middleware\StartSession($app->make('session'));
        });
    }
public function register()
    {
        $this->registerSessionManager();

        $this->registerSessionDriver();

        $this->app->singleton('Illuminate\Session\Middleware\StartSession', function ($app) {
            return new Middleware\StartSession($app->make('session'));
        });
    }
public function register ( ) { $ this -> registerSessionManager ( ) ; $ this -> registerSessionDriver ( ) ; $ this -> app -> singleton ( 'Illuminate\Session\Middleware\StartSession' , function ( $ app ) { return new Middleware \ StartSession ( $ app -> make ( 'session' ) ) ; } ) ; }
Override so we return our own Middleware\StartSession

@return void
Override so we return our own Middleware \ StartSession