Dingo\Api\Provider\LaravelServiceProvider::updateRouterBindings PHP Method

updateRouterBindings() protected method

Grab the bindings from the Laravel router and set them on the adapters router.
protected updateRouterBindings ( ) : void
return void
    protected function updateRouterBindings()
    {
        foreach ($this->getRouterBindings() as $key => $binding) {
            $this->app['api.router.adapter']->getRouter()->bind($key, $binding);
        }
    }