ICanBoogie/CLDR v1.6.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR

Classes

  • Calendar
  • CalendarCollection
  • ContextTransforms
  • Currency
  • CurrencyCollection
  • CurrencyFormatter
  • DateFormatter
  • DateTimeFormatter
  • FileProvider
  • ListFormatter
  • Locale
  • LocaleCollection
  • LocalizedCurrency
  • LocalizedDateTime
  • LocalizedListFormatter
  • LocalizedLocale
  • LocalizedNumberFormatter
  • LocalizedObject
  • LocalizedObjectWithFormatter
  • LocalizedTerritory
  • NumberFormatter
  • NumberPattern
  • NumberPatternParser
  • Numbers
  • ProviderCollection
  • RedisProvider
  • Repository
  • RunTimeProvider
  • Supplemental
  • Territory
  • TerritoryCollection
  • TimeFormatter
  • WebProvider

Interfaces

  • Exception
  • Formatter
  • LocalizeAwareInterface
  • Provider

Traits

  • CodePropertyTrait
  • CollectionTrait
  • LocalePropertyTrait
  • ProviderStorageBinding
  • RepositoryPropertyTrait

Exceptions

  • ResourceNotFound
  • TerritoryNotDefined

Class LocalizedObjectWithFormatter

A localized object with a formatter.

ICanBoogie\CLDR\LocalizedObject uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\LocalePropertyTrait
Extended by ICanBoogie\CLDR\LocalizedObjectWithFormatter

Direct known subclasses

ICanBoogie\CLDR\LocalizedCurrency, ICanBoogie\CLDR\LocalizedDateTime

Abstract
Namespace: ICanBoogie\CLDR
Located at LocalizedObjectWithFormatter.php

Methods summary

public
# __get( $property )

Inheritdoc

abstract protected ICanBoogie\CLDR\Formatter
# lazy_get_formatter( )

Returns the formatter to use to format the target object.

Returns the formatter to use to format the target object.

Returns

ICanBoogie\CLDR\Formatter

Methods inherited from ICanBoogie\CLDR\LocalizedObject

__construct(), from(), get_target()

Methods used from ICanBoogie\CLDR\LocalePropertyTrait

get_locale()

Magic methods summary

public string
# format( )

Formats the instance's target. Although the method is not defined by the class, it should be implemented by sub-classes.

Formats the instance's target. Although the method is not defined by the class, it should be implemented by sub-classes.

Returns

string

Properties summary

Properties inherited from ICanBoogie\CLDR\LocalizedObject

$options, $target

Magic properties

public read-only ICanBoogie\CLDR\Formatter $formatter

The formatter used to format the target object.

Magic properties inherited from ICanBoogie\CLDR\LocalizedObject

$locale, $target

Magic properties used from ICanBoogie\CLDR\LocalePropertyTrait

$locale

ICanBoogie/CLDR v1.6.0 API documentation generated by ApiGen