JsonOptionsTrait
Table of Contents
Properties
- $jsonOptions : int
- The json encode options value.
Methods
- initializeJsonOptions() : void
- Initialize the documents reference.
Properties
$jsonOptions
The json encode options value.
public
int
$jsonOptions
= JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT
Methods
initializeJsonOptions()
Initialize the documents reference.
protected
initializeJsonOptions([array<string|int, mixed> $init = [] ]) : void
Parameters
- $init : array<string|int, mixed> = []