PHP 인터페이스 Neos\Flow\I18n\Formatter\FormatterInterface

파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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