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/Serializer">Serializer
</a></li>
62 <li>↲ <a href=
"./ion/Serializer/serialize">Serializer::serialize
</a></li>
72 <meta charset=
"utf-8"><h1>
73 <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>
74 </h1><p>Specialization of the serializer for PHP.
</p><h2 id=
"Constants:">Constants:
<a class=
"permalink" href=
"ion/Serializer/PHP#Constants:">#
</a>
75 </h2><p>None.
</p><h2 id=
"Properties:">Properties:
<a class=
"permalink" href=
"ion/Serializer/PHP#Properties:">#
</a>
78 <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>
81 <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>
82 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>
84 <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>
85 Whether to call magic __serialize() methods on objects to serialize.
</li>
87 <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>
88 Whether and which custom serialize method to call on objects to serialize.
</li>
89 </ul><h2 id=
"Functions:">Functions:
<a class=
"permalink" href=
"ion/Serializer/PHP#Functions:">#
</a>
90 </h2><ul class=
"sub-entries sub-functions">
93 <h3 id=
"PHP::__construct">
94 <a href=
"ion/Serializer/PHP/__construct">PHP::__construct
</a><a class=
"permalink" href=
"ion/Serializer/PHP#PHP::__construct">#
</a>
96 <p>Create a new PHP ION serializer.
</p>
98 <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>
102 <div class=
"comments">
103 <style>.giscus-frame {min-height:
16em;}
</style>
105 function giscus_load(button) {
106 let script = document.createElement(
"script");
107 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
108 script.setAttribute(
"data-category", 'Comments on Docs');
109 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
110 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
111 script.setAttribute(
"data-mapping", 'og:title');
112 script.setAttribute(
"data-input-position", 'bottom');
113 script.setAttribute(
"data-reactions-enabled", false);
114 script.setAttribute(
"data-theme", 'light');
115 script.setAttribute(
"data-lang", 'en');
117 script.src =
"//giscus.app/client.js";
118 button.parentNode.replaceChild(script, button);
121 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
128 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
130 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
137 <script src=
"index.js" defer
></script>