JSONFormatter
in package
implements
FormatterInterface
JSON data formatter
Interfaces, Classes and Traits
- FormatterInterface
- Formatter interface
Table of Contents
- format() : string|bool
- Takes the given data and formats it.
Methods
format()
Takes the given data and formats it.
public
format(mixed $data) : string|bool
Parameters
- $data : mixed
Return values
string|bool —(JSON string | false)