app/Providers/DebugServiceProvider.php
/**
     * Register the Debugbar Middleware
     *
     * @param  string $middleware
     */
Register the Debugbar Middleware
@param  string $middleware
Register the Debugbar Middleware @param string $middleware
protected function registerMiddleware($middleware)
    {
        $kernel = $this->app['Illuminate\Contracts\Http\Kernel'];
        $kernel->pushMiddleware($middleware);
    }
protected function registerMiddleware ( $ middleware ) { $ kernel = $ this -> app [ 'Illuminate\Contracts\Http\Kernel' ] ; $ kernel -> pushMiddleware ( $ middleware ) ; }
Register the Debugbar Middleware
 @param  string $middleware
Register the Debugbar Middleware @param string $middleware