public function map($method, $route, $handler)
    {
        $this['router']->map($method, $route, $handler);

        return $this;
    }
public function map($method, $route, $handler)
    {
        $this['router']->map($method, $route, $handler);

        return $this;
    }
public function map ( $ method , $ route , $ handler ) { $ this [ 'router' ] -> map ( $ method , $ route , $ handler ) ; return $ this ; }
Adds a handler to the routing table for a given route.

@param string $method  HTTP method
@param string $route   path pattern
@param mixed  $handler route handler

@return self
Adds a handler to the routing table for a given route .