Update ResourceNameParser.php