1 # void ion\Serializer\PHP::__construct([?ion\Writer\Options $writerOptions = NULL, [bool $multiSequence = false, [bool $callMagicSerialize = true, [?string $callCustomSerialize = NULL]]]])
3 Create a new PHP ION serializer.
12 * Optional ?ion\Writer\Options $writerOptions = NULL
14 * Optional bool $multiSequence = false
15 Whether to write the top level array as multiple ION sequences.
16 * Optional bool $callMagicSerialize = true
17 Whether to call magic __serialize() methods on objects to serialize.
18 * Optional ?string $callCustomSerialize = NULL
19 Whether and which custom serialize method to call on objects to serialize.