6 Serializer::serialize -
9 <meta property=
"og:title" content=
"ion\Serializer::serialize">
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/serialize">
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/serialize">Serializer::serialize
</a></strong>
51 <li>↲ <a href=
"./ion/Serializer/Serializer">Serializer
</a></li>
61 <meta charset=
"utf-8"><h1>
62 <a class=
"permalink" href=
"ion/Serializer/serialize#">#
</a><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.mixed">mixed
</a></code> <a href=
"ion/Serializer/serialize">ion\Serializer::serialize
</a>(
<code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.mixed">mixed
</a></code> <span class=
"var">$data
</span>, [
<a href=
"ion/Writer">ion\Writer
</a>|
<a href=
"ion/Writer/Options">ion\Writer\Options
</a>|
<code><a href=
"https://php.net/manual/en/language.types.array">array
</a></code>|
<code><a href=
"https://php.net/manual/en/language.types.null">null
</a></code> <span class=
"var">$writer
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>])
</h1><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Serializer/serialize#Params:">#
</a>
65 <code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.mixed">mixed
</a></code> <span class=
"var" id=
"$data">$data
<a class=
"permalink" href=
"ion/Serializer/serialize#%24data">#
</a></span>
67 <li>Optional
<a href=
"ion/Writer">ion\Writer
</a>|
<a href=
"ion/Writer/Options">ion\Writer\Options
</a>|
<code><a href=
"https://php.net/manual/en/language.types.array">array
</a></code>|
<code><a href=
"https://php.net/manual/en/language.types.null">null
</a></code> <span class=
"var" id=
"$writer">$writer
<a class=
"permalink" href=
"ion/Serializer/serialize#%24writer">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>
70 <div class=
"comments">
71 <style>.giscus-frame {min-height:
16em;}
</style>
73 function giscus_load(button) {
74 let script = document.createElement(
"script");
75 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
76 script.setAttribute(
"data-category", 'Comments on Docs');
77 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
78 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
79 script.setAttribute(
"data-mapping", 'og:title');
80 script.setAttribute(
"data-input-position", 'bottom');
81 script.setAttribute(
"data-reactions-enabled", false);
82 script.setAttribute(
"data-theme", 'light');
83 script.setAttribute(
"data-lang", 'en');
85 script.src =
"//giscus.app/client.js";
86 button.parentNode.replaceChild(script, button);
89 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
96 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
98 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
105 <script src=
"index.js" defer
></script>