protected function registerBinput()
    {
        $this->app->singleton('binput', function (Container $app) {
            $request = $app['request'];
            $security = $app['security'];

            $binput = new Binput($request, $security);
            $app->refresh('request', $binput, 'setRequest');

            return $binput;
        });

        $this->app->alias('binput', Binput::class);
    }