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 LocalizedObjectWithFormatter

A localized object with a formatter.

ICanBoogie\CLDR\LocalizedObject uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\LocalePropertyTrait
┗ 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 lazy_get_formatter( void ) : ICanBoogie\CLDR\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 format( void ) : string

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 $formatter : ICanBoogie\CLDR\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

CLDR master – Check on GitHub – API documentation generated by ApiGen