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

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

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

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