public static function put(
        string $routeStr,
        array $info
    ) {
        self::create([Request::METHOD_PUT], $routeStr, $info);
    }
public static function put(
        string $routeStr,
        array $info
    ) {
        self::create([Request::METHOD_PUT], $routeStr, $info);
    }
public static function put ( string $ routeStr , array $ info ) { self :: create ( [ Request :: METHOD_PUT ] , $ routeStr , $ info ) ; }
Creates a route that listens to PUT http method.

@param string $routeStr
@param array  $info
Creates a route that listens to PUT http method .