toObject()
toObject(array $array, boolean $recursive = false) : \stdClass
Converts an array recursively to an object
Parameters
| array | $array | |
| boolean | $recursive |
extract(object $object, array $keys, boolean|integer $mode, string $prefix = '') : \stdClass
Create a new object with the passed keys.
| object | $object | |
| array | $keys | |
| boolean|integer | $mode | 0|false: fails if key not exists, 1: do nothing, 2|true: add null value |
| string | $prefix |