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

Class CachedProvider

A provider that caches CLDR data.

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

Methods summary

public __construct( ICanBoogie\CLDR\Provider $provider, callable $retrieve = null, callable $store = null )

Parameters

$provider
A CLDR provider such as ICanBoogie\CLDR\Provider\WebProvider
$retrieve
$store
public provide( string $path ) : string

Parameters

$path

Returns

string

Throws

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

Inheritdoc

Implementation of

ICanBoogie\CLDR\Provider::provide()
CLDR 2.0.x – Check on GitHub – API documentation generated by ApiGen