Packagesystem.formatters
Interfacepublic interface Formattable
Implementors BagFormatter, CollectionFormatter, DateFormatter, ExpressionFormatter, IterableFormatter, MapFormatter, MultiMapFormatter, StringFormatter

Interface implemented by classes that can format a value in a specific string expression.



Public Methods
 MethodDefined By
  
format(value:* = null):String
Formats the specified value.
Formattable
Method Detail
format()method
public function format(value:* = null):String

Formats the specified value.

Parameters

value:* (default = null) — The object to format.

Returns
String — the string representation of the formatted value.