Class PathMapper
Maps CLDR paths to GitHub URLs.
Methods summary
public
__construct( string $origin
= self::DEFAULT_ORIGIN, string $version
= self::DEFAULT_VERSION, string $variation
= self::DEFAULT_VARIATION )
Parameters
$origin
$version
$variation
public
map( string $path
)
: string
Parameters
Returns
string
Constants summary
DEFAULT_ORIGIN
: string
"https://raw.githubusercontent.com/unicode-cldr/"
DEFAULT_VERSION
: string
"29.0.0"
DEFAULT_VARIATION
: string
self::PREFER_MODERN
PREFER_MODERN
: string
'modern'
PREFER_FULL
: string
'full'