protected function createLaravelRoute()
    {
        $prefix = $this->app->make('config')->get('fluxbb.route_prefix', '');

        $this->app->make('router')->any($prefix.'/{uri}', ['as' => 'fluxbb', 'uses' => function () {
            $dispatcher = new Dispatcher(
                $this->app->make('FluxBB\Web\Router'),
                $this->app->make('FluxBB\Web\ControllerFactory')
            );

            return $dispatcher->handle($this->app->make('request'));
        }])->where('uri', '.*');
    }
protected function createLaravelRoute()
    {
        $prefix = $this->app->make('config')->get('fluxbb.route_prefix', '');

        $this->app->make('router')->any($prefix.'/{uri}', ['as' => 'fluxbb', 'uses' => function () {
            $dispatcher = new Dispatcher(
                $this->app->make('FluxBB\Web\Router'),
                $this->app->make('FluxBB\Web\ControllerFactory')
            );

            return $dispatcher->handle($this->app->make('request'));
        }])->where('uri', '.*');
    }
protected function createLaravelRoute ( ) { $ prefix = $ this -> app -> make ( 'config' ) -> get ( 'fluxbb.route_prefix' , '' ) ; $ this -> app -> make ( 'router' ) -> any ( $ prefix . '/{uri}' , [ 'as' => 'fluxbb' , 'uses' => function ( ) { $ dispatcher = new Dispatcher ( $ this -> app -> make ( 'FluxBB\Web\Router' ) , $ this -> app -> make ( 'FluxBB\Web\ControllerFactory' ) ) ; return $ dispatcher -> handle ( $ this -> app -> make ( 'request' ) ) ; } ] ) -> where ( 'uri' , '.*' ) ; }
Register the catch-all route with the Laravel router.

@return void
Register the catch - all route with the Laravel router .