src/UrlPath.php
public static function isValid(string $urlPath): bool
    {
        return self::myParse(
            '/',
            $urlPath,
            function ($p, $d, &$e) {
                return self::myPartValidator($p, $d, $e);
            });
    }
public static function isValid(string $urlPath): bool
    {
        return self::myParse(
            '/',
            $urlPath,
            function ($p, $d, &$e) {
                return self::myPartValidator($p, $d, $e);
            });
    }
public static function isValid ( string $ urlPath ) : bool { return self :: myParse ( '/' , $ urlPath , function ( $ p , $ d , & $ e ) { return self :: myPartValidator ( $ p , $ d , $ e ) ; } ) ; }
Checks if a url path is valid.

@since 1.0.0

@param string $urlPath The url path.

@return bool True if the $urlPath parameter is a valid url path, false otherwise.
Checks if a url path is valid .