src/Routing/SlimRouteGenerator.php
protected function generateGetAll(ResourceConfiguration $config)
    {
        $that = $this;

        $this->slim->get($this->baseRoute($config), function () use ($that) {
            $that->executeRoute('index', func_get_args());
        });
    }
protected function generateGetAll(ResourceConfiguration $config)
    {
        $that = $this;

        $this->slim->get($this->baseRoute($config), function () use ($that) {
            $that->executeRoute('index', func_get_args());
        });
    }
protected function generateGetAll ( ResourceConfiguration $ config ) { $ that = $ this ; $ this -> slim -> get ( $ this -> baseRoute ( $ config ) , function ( ) use ( $ that ) { $ that -> executeRoute ( 'index' , func_get_args ( ) ) ; } ) ; }
Generates the index route.

@param ResourceConfiguration $config
@return void
Generates the index route .