Core/Routing/Router.php
public function put($url, $class, $function)
    {
        $route = new Route($this->urlPrefix . $url, 'PUT', self::$CONTROLLERS_ROOT . $class, $function);
        $this->addRoute($route);
        return $route;
    }
public function put($url, $class, $function)
    {
        $route = new Route($this->urlPrefix . $url, 'PUT', self::$CONTROLLERS_ROOT . $class, $function);
        $this->addRoute($route);
        return $route;
    }
public function put ( $ url , $ class , $ function ) { $ route = new Route ( $ this -> urlPrefix . $ url , 'PUT' , self :: $ CONTROLLERS_ROOT . $ class , $ function ) ; $ this -> addRoute ( $ route ) ; return $ route ; }
Add a route object to the router accepting PUT request method.

@param string $url
@param string $class
@param string $function
@return RouteInterface
Add a route object to the router accepting PUT request method .