basic API docs
[awesomized/ext-ion] / docs / src / ion / Unserializer / PHP / __construct.md
1 # void ion\Unserializer\PHP::__construct([?ion\Reader\Options $readerOptions = NULL, [bool $multiSequence = false, [bool $callMagicUnserialize = true, [?string $callCustomUnserialize = NULL]]]])
2
3 Create a new ION PHP unserializer.
4
5
6
7
8
9
10 ## Params:
11
12 * Optional ?ion\Reader\Options $readerOptions = NULL
13 Reader options.
14 * Optional bool $multiSequence = false
15 Whether to continue reading multiple ION sequences after the first one.
16 * Optional bool $callMagicUnserialize = true
17 Whether to call magic __unserialize() methods on objects to unserialize.
18 * Optional ?string $callCustomUnserialize = NULL
19 Whether and which custom unserialize method to call on objects to unserialize.
20
21