Skip to content

Commit b60d820

Browse files
committed
Add missing document files
1 parent ae8f87a commit b60d820

File tree

2 files changed

+343
-0
lines changed

2 files changed

+343
-0
lines changed
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6+
<meta name="mobile-web-app-capable" content="yes">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
9+
<link rel="stylesheet" href="resources/bootstrap.min.css">
10+
<link rel="stylesheet" href="resources/style.css">
11+
12+
<title>
13+
Class LINE\LINEBot\MessageBuilder\RawMessageBuilder
14+
</title>
15+
</head>
16+
17+
<body>
18+
<div id="navigation">
19+
<div class="container">
20+
<div class="row">
21+
<div class="col-md-12">
22+
<nav class="navbar">
23+
<ul class="nav navbar-nav">
24+
<li>
25+
<a href="index.html">
26+
Overview
27+
</a>
28+
</li>
29+
30+
<li>
31+
<a href="classes.html">Classes</a>
32+
</li>
33+
34+
<li>
35+
<a href="interfaces.html">Interfaces</a>
36+
</li>
37+
38+
39+
40+
<li>
41+
<a href="exceptions.html">Exceptions</a>
42+
</li>
43+
44+
</ul>
45+
46+
<form id="search" class="pull-right">
47+
<input type="text" name="q" class="form-control text" placeholder="Search class, function or namespace" autofocus>
48+
</form>
49+
</nav>
50+
</div>
51+
</div>
52+
</div>
53+
</div>
54+
<div id="breadcrumbs">
55+
<div class="container">
56+
<div class="row">
57+
<div class="col-md-12">
58+
59+
60+
<div class="pull-left type">
61+
<span class="label label-success">Class</span>
62+
</div>
63+
64+
<ol class="breadcrumb pull-left">
65+
<li>
66+
<a href="namespace-LINE.html">LINE</a>
67+
</li>
68+
<li class="backslash">\</li>
69+
<li>
70+
<a href="namespace-LINE.LINEBot.html">LINEBot</a>
71+
</li>
72+
<li class="backslash">\</li>
73+
<li>
74+
<a href="namespace-LINE.LINEBot.MessageBuilder.html">MessageBuilder</a>
75+
</li>
76+
77+
<li class="backslash">\</li>
78+
<li class="active">RawMessageBuilder</li>
79+
</ol>
80+
</div>
81+
</div>
82+
</div>
83+
</div>
84+
85+
<div class="container">
86+
<div class="row">
87+
<div class="col-md-12">
88+
<h1>RawMessageBuilder</h1>
89+
90+
<div class="panel panel-default">
91+
<div class="panel-body">
92+
A builder class for raw message.
93+
</div>
94+
</div>
95+
96+
<dl class="tree">
97+
<dd>
98+
99+
implements
100+
<a href="interface-LINE.LINEBot.MessageBuilder.html">
101+
LINE\LINEBot\MessageBuilder
102+
</a>
103+
104+
</dd>
105+
</dl>
106+
107+
108+
109+
<div class="info">
110+
111+
112+
<br>
113+
<a href="source-class-LINE.LINEBot.MessageBuilder.RawMessageBuilder.html" class="open-source-code">Open source code</a>
114+
<br>
115+
</div>
116+
117+
<table class="summary table table-bordered table-responsive table-striped" id="methods">
118+
<tr><th colspan="3">Methods Summary</th></tr>
119+
120+
121+
122+
<tr id="___construct">
123+
124+
<td class="attributes col-md-1">
125+
<code class="keyword">
126+
public
127+
128+
129+
</code>
130+
</td>
131+
132+
<td class="name">
133+
<div>
134+
<a class="anchor pull-right" href="#___construct">#</a>
135+
<code><a href="source-class-LINE.LINEBot.MessageBuilder.RawMessageBuilder.html#38-41">__construct</a>( <span> array <span class="property-name">$message</span> </span> )</code>
136+
137+
<div class="description">
138+
RawMessageBuilder constructor.
139+
140+
141+
142+
143+
144+
145+
146+
147+
</div>
148+
</div>
149+
</td>
150+
</tr>
151+
152+
153+
154+
<tr id="_buildMessage">
155+
156+
<td class="attributes col-md-1">
157+
<code class="keyword">
158+
public
159+
160+
161+
</code>
162+
</td>
163+
164+
<td class="name">
165+
<div>
166+
<a class="anchor pull-right" href="#_buildMessage">#</a>
167+
<code><a href="source-class-LINE.LINEBot.MessageBuilder.RawMessageBuilder.html#48-51">buildMessage</a>( )</code>
168+
169+
<div class="description">
170+
Returns raw message.
171+
172+
173+
174+
175+
176+
177+
178+
179+
<h2>Implementation of</h2>
180+
<div>
181+
<code>
182+
<a href="interface-LINE.LINEBot.MessageBuilder.html#_buildMessage">
183+
LINE\LINEBot\MessageBuilder::buildMessage()
184+
</a>
185+
</code>
186+
</div>
187+
</div>
188+
</div>
189+
</td>
190+
</tr>
191+
</table>
192+
193+
194+
195+
196+
197+
198+
199+
<div id="footer">
200+
Generated by <a href="https://github.com/apigen/apigen">ApiGen</a>
201+
</div>
202+
</div>
203+
</div>
204+
</div>
205+
206+
<script src="resources/jquery-3.2.1.min.js"></script>
207+
<script src="resources/jquery-ui-1.12.1.min.js"></script>
208+
209+
<script src="elementlist.js"></script>
210+
<script src="resources/main.js"></script>
211+
</body>
212+
</html>
213+
214+
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6+
<meta name="mobile-web-app-capable" content="yes">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
9+
<link rel="stylesheet" href="resources/bootstrap.min.css">
10+
<link rel="stylesheet" href="resources/style.css">
11+
12+
<title>
13+
Source file
14+
</title>
15+
</head>
16+
17+
<body>
18+
<div id="navigation">
19+
<div class="container">
20+
<div class="row">
21+
<div class="col-md-12">
22+
<nav class="navbar">
23+
<ul class="nav navbar-nav">
24+
<li>
25+
<a href="index.html">
26+
Overview
27+
</a>
28+
</li>
29+
30+
<li>
31+
<a href="classes.html">Classes</a>
32+
</li>
33+
34+
<li>
35+
<a href="interfaces.html">Interfaces</a>
36+
</li>
37+
38+
39+
40+
<li>
41+
<a href="exceptions.html">Exceptions</a>
42+
</li>
43+
44+
</ul>
45+
46+
<form id="search" class="pull-right">
47+
<input type="text" name="q" class="form-control text" placeholder="Search class, function or namespace" autofocus>
48+
</form>
49+
</nav>
50+
</div>
51+
</div>
52+
</div>
53+
</div>
54+
55+
<div class="container">
56+
<div class="row">
57+
<div class="col-md-12">
58+
<div id="source">
59+
<pre class="numbers"><code><span id="1" class="l"><a href="#1"> 1: </a></span><span id="2" class="l"><a href="#2"> 2: </a></span><span id="3" class="l"><a href="#3"> 3: </a></span></span><span id="4" class="l"><a href="#4"> 4: </a></span></span><span id="5" class="l"><a href="#5"> 5: </a></span></span><span id="6" class="l"><a href="#6"> 6: </a></span></span><span id="7" class="l"><a href="#7"> 7: </a></span></span><span id="8" class="l"><a href="#8"> 8: </a></span></span><span id="9" class="l"><a href="#9"> 9: </a></span></span><span id="10" class="l"><a href="#10">10: </a></span></span><span id="11" class="l"><a href="#11">11: </a></span></span><span id="12" class="l"><a href="#12">12: </a></span></span><span id="13" class="l"><a href="#13">13: </a></span></span><span id="14" class="l"><a href="#14">14: </a></span></span><span id="15" class="l"><a href="#15">15: </a></span></span><span id="16" class="l"><a href="#16">16: </a></span></span><span id="17" class="l"><a href="#17">17: </a></span><span id="18" class="l"><a href="#18">18: </a></span><span id="19" class="l"><a href="#19">19: </a></span><span id="20" class="l"><a href="#20">20: </a></span><span id="21" class="l"><a href="#21">21: </a></span><span id="22" class="l"><a href="#22">22: </a></span><span id="23" class="l"><a href="#23">23: </a></span></span><span id="24" class="l"><a href="#24">24: </a></span></span><span id="25" class="l"><a href="#25">25: </a></span></span><span id="26" class="l"><a href="#26">26: </a></span></span><span id="27" class="l"><a href="#27">27: </a></span><span id="28" class="l"><a href="#28">28: </a></span><span id="29" class="l"><a href="#29">29: </a></span><span id="30" class="l"><a href="#30">30: </a></span><span id="31" class="l"><a href="#31">31: </a></span><span id="32" class="l"><a href="#32">32: </a></span><span id="33" class="l"><a href="#33">33: </a></span></span><span id="34" class="l"><a href="#34">34: </a></span></span><span id="35" class="l"><a href="#35">35: </a></span></span><span id="36" class="l"><a href="#36">36: </a></span></span><span id="37" class="l"><a href="#37">37: </a></span><span id="38" class="l"><a href="#38">38: </a></span><span id="39" class="l"><a href="#39">39: </a></span><span id="40" class="l"><a href="#40">40: </a></span><span id="41" class="l"><a href="#41">41: </a></span><span id="42" class="l"><a href="#42">42: </a></span><span id="43" class="l"><a href="#43">43: </a></span></span><span id="44" class="l"><a href="#44">44: </a></span></span><span id="45" class="l"><a href="#45">45: </a></span></span><span id="46" class="l"><a href="#46">46: </a></span></span><span id="47" class="l"><a href="#47">47: </a></span><span id="48" class="l"><a href="#48">48: </a></span><span id="49" class="l"><a href="#49">49: </a></span><span id="50" class="l"><a href="#50">50: </a></span><span id="51" class="l"><a href="#51">51: </a></span><span id="52" class="l"><a href="#52">52: </a></span><span id="53" class="l"><a href="#53">53: </a></span></code></pre>
60+
<pre class="code"><code><span class="l" id="line-1"><span class="xlang">&lt;?php</span>
61+
</span><span class="l" id="line-2">
62+
</span><span class="l" id="line-3"><span class="php-comment">/**
63+
</span></span><span class="l" id="line-4"><span class="php-comment"> * Copyright 2018 LINE Corporation
64+
</span></span><span class="l" id="line-5"><span class="php-comment"> *
65+
</span></span><span class="l" id="line-6"><span class="php-comment"> * LINE Corporation licenses this file to you under the Apache License,
66+
</span></span><span class="l" id="line-7"><span class="php-comment"> * version 2.0 (the &quot;License&quot;); you may not use this file except in compliance
67+
</span></span><span class="l" id="line-8"><span class="php-comment"> * with the License. You may obtain a copy of the License at:
68+
</span></span><span class="l" id="line-9"><span class="php-comment"> *
69+
</span></span><span class="l" id="line-10"><span class="php-comment"> * https://www.apache.org/licenses/LICENSE-2.0
70+
</span></span><span class="l" id="line-11"><span class="php-comment"> *
71+
</span></span><span class="l" id="line-12"><span class="php-comment"> * Unless required by applicable law or agreed to in writing, software
72+
</span></span><span class="l" id="line-13"><span class="php-comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT
73+
</span></span><span class="l" id="line-14"><span class="php-comment"> * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
74+
</span></span><span class="l" id="line-15"><span class="php-comment"> * License for the specific language governing permissions and limitations
75+
</span></span><span class="l" id="line-16"><span class="php-comment"> * under the License.
76+
</span></span><span class="l" id="line-17"><span class="php-comment"> */</span>
77+
</span><span class="l" id="line-18">
78+
</span><span class="l" id="line-19"><span class="php-keyword1">namespace</span> LINE\LINEBot\MessageBuilder;
79+
</span><span class="l" id="line-20">
80+
</span><span class="l" id="line-21"><span class="php-keyword1">use</span> LINE\LINEBot\MessageBuilder;
81+
</span><span class="l" id="line-22">
82+
</span><span class="l" id="line-23"><span class="php-comment">/**
83+
</span></span><span class="l" id="line-24"><span class="php-comment"> * A builder class for raw message.
84+
</span></span><span class="l" id="line-25"><span class="php-comment"> *
85+
</span></span><span class="l" id="line-26"><span class="php-comment"> * @package LINE\LINEBot\MessageBuilder
86+
</span></span><span class="l" id="line-27"><span class="php-comment"> */</span>
87+
</span><span class="l" id="line-28"><span class="php-keyword1">class</span> RawMessageBuilder <span class="php-keyword1">implements</span> MessageBuilder
88+
</span><span class="l" id="line-29">{
89+
</span><span class="l" id="line-30"> <span class="php-comment">/** @var array */</span>
90+
</span><span class="l" id="line-31"> <span class="php-keyword1">private</span> <span class="php-var">$message</span> = [];
91+
</span><span class="l" id="line-32">
92+
</span><span class="l" id="line-33"> <span class="php-comment">/**
93+
</span></span><span class="l" id="line-34"><span class="php-comment"> * RawMessageBuilder constructor.
94+
</span></span><span class="l" id="line-35"><span class="php-comment"> *
95+
</span></span><span class="l" id="line-36"><span class="php-comment"> * @param array $message
96+
</span></span><span class="l" id="line-37"><span class="php-comment"> */</span>
97+
</span><span class="l" id="line-38"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct(<span class="php-keyword1">array</span> <span class="php-var">$message</span>)
98+
</span><span class="l" id="line-39"> {
99+
</span><span class="l" id="line-40"> <span class="php-var">$this</span>-&gt;message[] = <span class="php-var">$message</span>;
100+
</span><span class="l" id="line-41"> }
101+
</span><span class="l" id="line-42">
102+
</span><span class="l" id="line-43"> <span class="php-comment">/**
103+
</span></span><span class="l" id="line-44"><span class="php-comment"> * Returns raw message.
104+
</span></span><span class="l" id="line-45"><span class="php-comment"> *
105+
</span></span><span class="l" id="line-46"><span class="php-comment"> * @return array Built message structure.
106+
</span></span><span class="l" id="line-47"><span class="php-comment"> */</span>
107+
</span><span class="l" id="line-48"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> buildMessage()
108+
</span><span class="l" id="line-49"> {
109+
</span><span class="l" id="line-50"> <span class="php-keyword1">return</span> <span class="php-var">$this</span>-&gt;message;
110+
</span><span class="l" id="line-51"> }
111+
</span><span class="l" id="line-52">}
112+
</span><span class="l" id="line-53"></span><br></code></pre>
113+
</div>
114+
<div id="footer">
115+
Generated by <a href="https://github.com/apigen/apigen">ApiGen</a>
116+
</div>
117+
</div>
118+
</div>
119+
</div>
120+
121+
<script src="resources/jquery-3.2.1.min.js"></script>
122+
<script src="resources/jquery-ui-1.12.1.min.js"></script>
123+
124+
<script src="elementlist.js"></script>
125+
<script src="resources/main.js"></script>
126+
</body>
127+
</html>
128+
129+

0 commit comments

Comments
 (0)