PHP Interface Neos\Flow\I18n\Formatter\FormatterInterface

Mostrar archivo Open project: neos/flow-development-collection

Public Methods

Method Description
format ( mixed $value, Locale $locale, array $styleProperties = [] ) : string Formats provided value using optional style properties

Method Details

format() public method

Formats provided value using optional style properties
public format ( mixed $value, Locale $locale, array $styleProperties = [] ) : string
$value mixed Formatter-specific variable to format (can be integer, \DateTime, etc)
$locale Neos\Flow\I18n\Locale Locale to use
$styleProperties array Integer-indexed array of formatter-specific style properties (can be empty)
return string String representation of $value provided, or (string)$value