9 <meta property=
"og:title" content=
"ion\Reader\Stream\Reader::__construct">
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/Reader/Stream/Reader/__construct">
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/Reader">
45 ↑ <a href=
"./ion/Reader/Stream">
51 ↑ <a href=
"./ion/Reader/Stream/Reader">
57 ↻ <strong><a href=
"./ion/Reader/Stream/Reader/__construct">Reader::__construct
</a></strong>
79 <meta charset=
"utf-8"><h1>
80 <a class=
"permalink" href=
"ion/Reader/Stream/Reader/__construct#">#
</a><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void
</a></code> <a href=
"ion/Reader/Stream/Reader/__construct">ion\Reader\Stream\Reader::__construct
</a>(
<code><a href=
"https://php.net/manual/en/language.types.resource">resource
</a></code> <span class=
"var">$stream
</span>, [
<a href=
"ion/Reader/Options">ion\Reader\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">$options
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>])
</h1><p>Create a new stream reader.
</p><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Reader/Stream/Reader/__construct#Params:">#
</a>
83 <code><a href=
"https://php.net/manual/en/language.types.resource">resource
</a></code> <span class=
"var" id=
"$stream">$stream
<a class=
"permalink" href=
"ion/Reader/Stream/Reader/__construct#%24stream">#
</a></span><br>
84 The stream to read from.
</li>
85 <li>Optional
<a href=
"ion/Reader/Options">ion\Reader\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=
"$options">$options
<a class=
"permalink" href=
"ion/Reader/Stream/Reader/__construct#%24options">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
88 <div class=
"comments">
89 <style>.giscus-frame {min-height:
16em;}
</style>
91 function giscus_load(button) {
92 let script = document.createElement(
"script");
93 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
94 script.setAttribute(
"data-category", 'Comments on Docs');
95 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
96 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
97 script.setAttribute(
"data-mapping", 'og:title');
98 script.setAttribute(
"data-input-position", 'bottom');
99 script.setAttribute(
"data-reactions-enabled", false);
100 script.setAttribute(
"data-theme", 'light');
101 script.setAttribute(
"data-lang", 'en');
103 script.src =
"//giscus.app/client.js";
104 button.parentNode.replaceChild(script, button);
107 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
114 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
116 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
123 <script src=
"index.js" defer
></script>