9 <meta property=
"og:title" content=
"ion\Serializer\PHP">
10 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <base href=
"/ext-ion/v0.1/">
12 <meta http-equiv=
"Content-Location" content=
"/ext-ion/v0.1/ion/Serializer/PHP">
13 <link rel=
"stylesheet" href=
"index.css">
15 <link rel=
"shortcut icon" href=
"/ext-ion/v0.1/favicon.ico">
23 <a href=
"https://github.com/awesomized/ext-ion/edit/master/ion.stub.php">Edit
</a>
28 <li>↰ <a href=
"./">Home
</a>
33 ↑ <a href=
"./ion">
39 ↑ <a href=
"./ion/Serializer">
45 ↻ <strong><a href=
"./ion/Serializer/PHP">PHP
</a></strong>
51 ↳ <a href=
"./ion/Serializer/PHP/__construct">PHP::__construct
</a>
60 <li>↲ <a href=
"./ion/Serializer/serialize">Serializer::serialize
</a></li>
70 <meta charset=
"utf-8"><h1>
71 <a class=
"permalink" href=
"ion/Serializer/PHP#">#
</a><em>class
</em> <a href=
"ion/Serializer/PHP">ion\Serializer\PHP
</a> <br> <em>implements
</em> <a href=
"ion/Serializer">ion\Serializer
</a>
72 </h1><p>Specialization of the serializer for PHP.
</p><h2 id=
"Constants:">Constants:
<a class=
"permalink" href=
"ion/Serializer/PHP#Constants:">#
</a>
73 </h2><p>None.
</p><h2 id=
"Properties:">Properties:
<a class=
"permalink" href=
"ion/Serializer/PHP#Properties:">#
</a>
76 <em>public
</em> ?
<a href=
"ion/Writer/Options">ion\Writer\Options
</a> <span class=
"var" id=
"$writerOptions">$writerOptions
<a class=
"permalink" href=
"ion/Serializer/PHP#%24writerOptions">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
79 <em>public
</em> <code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var" id=
"$multiSequence">$multiSequence
<a class=
"permalink" href=
"ion/Serializer/PHP#%24multiSequence">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.boolean">false
</a></code><br>
80 Whether to write the top level
<code><a href=
"https://php.net/manual/en/language.types.array">array
</a></code> as multiple
<span class=
"constant">ION
</span> sequences.
</li>
82 <em>public
</em> <code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var" id=
"$callMagicSerialize">$callMagicSerialize
<a class=
"permalink" href=
"ion/Serializer/PHP#%24callMagicSerialize">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.boolean">true
</a></code><br>
83 Whether to call magic __serialize() methods on objects to serialize.
</li>
85 <em>public
</em> ?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var" id=
"$callCustomSerialize">$callCustomSerialize
<a class=
"permalink" href=
"ion/Serializer/PHP#%24callCustomSerialize">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
86 Whether and which custom serialize method to call on objects to serialize.
</li>
87 </ul><h2 id=
"Functions:">Functions:
<a class=
"permalink" href=
"ion/Serializer/PHP#Functions:">#
</a>
88 </h2><ul class=
"sub-entries sub-functions">
91 <h3 id=
"PHP::__construct">
92 <a href=
"ion/Serializer/PHP/__construct">PHP::__construct
</a><a class=
"permalink" href=
"ion/Serializer/PHP#PHP::__construct">#
</a>
94 <p>Create a new PHP ION serializer.
</p>
96 <p><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void
</a></code> <a href=
"ion/Serializer/PHP/__construct">ion\Serializer\PHP::__construct
</a>([?
<a href=
"ion/Writer/Options">ion\Writer\Options
</a> <span class=
"var">$writerOptions
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>, [
<code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var">$multiSequence
</span> =
<code><a href=
"https://php.net/manual/en/language.types.boolean">false
</a></code>, [
<code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <span class=
"var">$callMagicSerialize
</span> =
<code><a href=
"https://php.net/manual/en/language.types.boolean">true
</a></code>, [?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var">$callCustomSerialize
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>]]]])
</p>
100 <div class=
"comments">
101 <style>.giscus-frame {min-height:
16em;}
</style>
103 function giscus_load(button) {
104 let script = document.createElement(
"script");
105 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
106 script.setAttribute(
"data-category", 'Comments on Docs');
107 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
108 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
109 script.setAttribute(
"data-mapping", 'og:title');
110 script.setAttribute(
"data-input-position", 'bottom');
111 script.setAttribute(
"data-reactions-enabled", false);
112 script.setAttribute(
"data-theme", 'light');
113 script.setAttribute(
"data-lang", 'en');
115 script.src =
"//giscus.app/client.js";
116 button.parentNode.replaceChild(script, button);
119 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
126 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
128 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
135 <script src=
"index.js" defer
></script>