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

getRouterBindings() protected method

Get the Laravel routers bindings.
protected getRouterBindings ( ) : array
return array
    protected function getRouterBindings()
    {
        $property = (new ReflectionClass($this->app['router']))->getProperty('binders');
        $property->setAccessible(true);
        return $property->getValue($this->app['router']);
    }