ICanBoogie
  • Documentation
  • API Reference
  • CLDR master
Namespaces
  • ICanBoogie
    • CLDR
      • Plurals
      • Units
Classes
  • AbstractCollection
  • AbstractSectionCollection
  • Calendar
  • CalendarCollection
  • ContextTransforms
  • Currency
  • CurrencyCollection
  • CurrencyFormatter
  • DateFormatter
  • DateTimeAccessor
  • DateTimeFormatter
  • FileProvider
  • ListFormatter
  • Locale
  • LocaleCollection
  • LocalizedCurrency
  • LocalizedDateTime
  • LocalizedListFormatter
  • LocalizedLocale
  • LocalizedNumberFormatter
  • LocalizedObject
  • LocalizedObjectWithFormatter
  • LocalizedTerritory
  • Number
  • NumberFormatter
  • NumberPattern
  • NumberPatternParser
  • Numbers
  • Plurals
  • ProviderCollection
  • RedisProvider
  • Repository
  • RunTimeProvider
  • Supplemental
  • Territory
  • TerritoryCollection
  • TimeFormatter
  • Units
  • WebProvider
Interfaces
  • Exception
  • Formatter
  • LocalizeAwareInterface
  • Provider
Traits
  • CodePropertyTrait
  • CollectionTrait
  • LocalePropertyTrait
  • LocalizeTrait
  • ProviderStorageBinding
  • RepositoryPropertyTrait
Exceptions
  • ResourceNotFound
  • TerritoryNotDefined

Class WebProvider

Retrieves sections from the CLDR source using cURL.

ICanBoogie\CLDR\WebProvider implements ICanBoogie\Storage\Storage, ICanBoogie\CLDR\Provider uses ICanBoogie\CLDR\ProviderStorageBinding
Namespace: ICanBoogie\CLDR
Located at WebProvider.php

Methods summary

public __construct( string $origin = self::DEFAULT_ORIGIN )

Initializes the $origin property.

Initializes the $origin property.

Parameters

$origin
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

$key

Returns

string

Throws

ICanBoogie\CLDR\ResourceNotFound
when the specified path does not exists on the CLDR source.
public eliminate( $key )

The method does nothing.

The method does nothing.

Inheritdoc

Codecoverageignore

public exists( $key )

The method does nothing.

The method does nothing.

Inheritdoc

Codecoverageignore

public clear( void )

The method does nothing.

The method does nothing.

Inheritdoc

Codecoverageignore

public getIterator( void )

Inheritdoc

Methods inherited from ICanBoogie\CLDR\Provider

provide()

Methods used from ICanBoogie\CLDR\ProviderStorageBinding

provide()

Constants summary

DEFAULT_ORIGIN : string
"http://www.unicode.org/repos/cldr-aux/json/26/"
CLDR master – Check on GitHub – API documentation generated by ApiGen