public function put($url, $class, $function)
    {
        $route = new Route($this->urlPrefix . $url, 'PUT', self::$CONTROLLERS_ROOT . $class, $function);
        $this->addRoute($route);
        return $route;
    }