Flow PHP

ValueFormatter

Read onlyYes
FinalYes

Methods

__construct()  : mixed
format()  : string

Methods

__construct()

public __construct([string $nullValue = '-' ]) : mixed
Parameters
$nullValue : string = '-'

format()

public format(string|float|int|bool|DateTimeInterface|null $value) : string
Parameters
$value : string|float|int|bool|DateTimeInterface|null
Return values
string

        
On this page

Search results