ICanBoogie/CLDR 2.0.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR
      • Plurals
      • Provider
        • WebProvider
      • Units

Classes

  • CachedProvider
  • WebProvider

Class WebProvider

Retrieves sections from the CLDR source using cURL.

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

Methods summary

public
# __construct( string $origin = ICanBoogie\CLDR\Provider\PathMapper::DEFAULT_ORIGIN, string $version = ICanBoogie\CLDR\Provider\PathMapper::DEFAULT_VERSION, string $variation = ICanBoogie\CLDR\Provider\PathMapper::DEFAULT_VARIATION )

Parameters

$origin
$version
$variation
public string
# provide( string $key )

The section path, following the pattern "/

<

section>".

The section path, following the pattern "/

<

section>".

Parameters

$key

Returns

string

Throws

ICanBoogie\CLDR\ResourceNotFound
when the specified path does not exists on the CLDR source.

Implementation of

ICanBoogie\CLDR\Provider::provide()
ICanBoogie/CLDR 2.0.x API documentation generated by ApiGen