$data
$data : array
Array data
Config class
createFromJson(string $jsonString, integer $depth = 512, integer $options) : \Pop\Utils\ArrayObject
Create array object from JSON string
| string | $jsonString | |
| integer | $depth | |
| integer | $options |
createFromSerialized(string $string) : \Pop\Utils\ArrayObject
Create array object from serialized string
| string | $string |
jsonUnserialize(string $jsonString, integer $depth = 512, integer $options) : \Pop\Utils\ArrayObject
Unserialize a JSON string
| string | $jsonString | |
| integer | $depth | |
| integer | $options |
unserialize(string $string) : \Pop\Utils\ArrayObject
Unserialize a string
| string | $string |
merge(mixed $data, boolean $preserve = false) : \Pop\Config\Config
Merge the values of another config object into this one.
By default, existing values are overwritten, unless the $preserve flag is set to true.
| mixed | $data | |
| boolean | $preserve |
mergeFromData(mixed $data, boolean $preserve = false) : \Pop\Config\Config
Merge the values of another config object into this one.
By default, existing values are overwritten, unless the $preserve flag is set to true.
| mixed | $data | |
| boolean | $preserve |