PHP Интерфейс Neos\Flow\I18n\Formatter\FormatterInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
format ( mixed $value, Locale $locale, array $styleProperties = [] ) : string Formats provided value using optional style properties

Описание методов

format() публичный Метод

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)
Результат string String representation of $value provided, or (string)$value