Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PhpBench
Formatter
FormatInterface
PHP Interface PhpBench\Formatter\FormatInterface
An example might be formatting numbers, e.g: 10000 => 10,000
Show file
Open project: dantleech/phpbench
Public Methods
Method
Description
format
(
string
$subject
,
array
$options
) :
string
Format the given subject value.
getDefaultOptions
( ) :
array
Return the default options for this format class.
Method Details
format()
public
method
Format the given subject value.
public
format
(
string
$subject
,
array
$options
) :
string
$subject
string
$options
array
return
string
getDefaultOptions()
public
method
Return the default options for this format class.
public
getDefaultOptions
( ) :
array
return
array