API reference / Quittio \ Core \ Xml
SerializationOptions
final readonly class in quittio/core
Quittio\Core\Xml\SerializationOptions · Source
Options for XML serialisation.
Properties#
| Property | Type | Description |
|---|---|---|
$indent readonly | bool | |
$locale readonly | string |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(string $locale = 'en', bool $indent = true)| Parameter | Type | Description |
|---|---|---|
$locale | string = 'en' | |
$indent | bool = true |