ICanBoogie
  • Documentation
  • API Reference
  • CLDR 2.0.x
Namespaces
  • ICanBoogie
    • CLDR
      • Plurals
      • Provider
        • WebProvider
      • Units
Classes
  • PathMapper

Class PathMapper

Maps CLDR paths to GitHub URLs.

Namespace: ICanBoogie\CLDR\Provider\WebProvider
Located at Provider/WebProvider/PathMapper.php

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

$path

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'
CLDR 2.0.x – Check on GitHub – API documentation generated by ApiGen