@@ 175-182 (lines=8) @@ | ||
172 | * |
|
173 | * @return resource |
|
174 | */ |
|
175 | protected function getInputStream($input) |
|
176 | { |
|
177 | $stream = fopen('php://memory', 'r+', false); |
|
178 | fwrite($stream, $input); |
|
179 | rewind($stream); |
|
180 | ||
181 | return $stream; |
|
182 | } |
|
183 | } |
|
184 |
@@ 228-235 (lines=8) @@ | ||
225 | * |
|
226 | * @return resource |
|
227 | */ |
|
228 | protected function getInputStream($input) |
|
229 | { |
|
230 | $stream = fopen('php://memory', 'r+', false); |
|
231 | fwrite($stream, $input); |
|
232 | rewind($stream); |
|
233 | ||
234 | return $stream; |
|
235 | } |
|
236 | } |
|
237 |
@@ 196-203 (lines=8) @@ | ||
193 | * |
|
194 | * @return resource |
|
195 | */ |
|
196 | protected function getInputStream($input) |
|
197 | { |
|
198 | $stream = fopen('php://memory', 'r+', false); |
|
199 | fwrite($stream, $input); |
|
200 | rewind($stream); |
|
201 | ||
202 | return $stream; |
|
203 | } |
|
204 | } |
|
205 |