Class WebProvider
Retrieves sections from the CLDR source using cURL.
-
ICanBoogie\CLDR\WebProvider
implements
ICanBoogie\Storage\Storage,
ICanBoogie\CLDR\Provider
uses
ICanBoogie\CLDR\ProviderStorageBinding
Methods summary
public
__construct( string $origin
= self::DEFAULT_ORIGIN )
Initializes the $origin property.
Initializes the $origin property.
Parameters
public
store( $key
, $value
, $ttl
= null )
Inheritdoc
Codecoverageignore
public
retrieve( string $key
)
: string
The section path, following the pattern "/
<
section>".
The section path, following the pattern "/
<
section>".
Parameters
Returns
string
Throws
public
eliminate( $key
)
The method does nothing.
Inheritdoc
Codecoverageignore
public
exists( $key
)
The method does nothing.
Inheritdoc
Codecoverageignore
public
clear( void )
The method does nothing.
Inheritdoc
Codecoverageignore
public
getIterator( void )
provide()
provide()
Constants summary
DEFAULT_ORIGIN
: string
"http://www.unicode.org/repos/cldr-aux/json/26/"