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

        $this->slim->put("{$this->baseRoute($config)}/:id", function () use ($that) {
            $that->executeRoute('update', func_get_args());
        });
    }
protected function generatePut(ResourceConfiguration $config)
    {
        $that = $this;

        $this->slim->put("{$this->baseRoute($config)}/:id", function () use ($that) {
            $that->executeRoute('update', func_get_args());
        });
    }
protected function generatePut ( ResourceConfiguration $ config ) { $ that = $ this ; $ this -> slim -> put ( "{$this->baseRoute($config)}/:id" , function ( ) use ( $ that ) { $ that -> executeRoute ( 'update' , func_get_args ( ) ) ; } ) ; }
Generates the update route.

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