ICanBoogie
  • Documentation
  • API Reference
  • CLDR 2.0.x
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 = PathMapper::DEFAULT_ORIGIN, string $version = PathMapper::DEFAULT_VERSION, string $variation = PathMapper::DEFAULT_VARIATION )

Parameters

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

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