Dingo\Api\Provider\HttpServiceProvider::registerHttpParsers PHP Method

registerHttpParsers() protected method

Register the HTTP parsers.
protected registerHttpParsers ( ) : void
return void
    protected function registerHttpParsers()
    {
        $this->app->singleton(AcceptParser::class, function ($app) {
            return new AcceptParser($this->config('standardsTree'), $this->config('subtype'), $this->config('version'), $this->config('defaultFormat'));
        });
    }