wp-all-import
/
classes
/
XmlStreamReader
/
prewk
/
xml-string-streamer
/
src
/
XmlStringStreamer
/
StreamInterface.php
wp-all-import
/
classes
/
XmlStreamReader
/
prewk
/
xml-string-streamer
/
src
/
XmlStringStreamer
Last commit date
Parser
2 years ago
Stream
1 month ago
ParserInterface.php
10 years ago
StreamInterface.php
10 years ago
StreamInterface.php
21 lines
| 1 | <?php |
| 2 | /** |
| 3 | * xml-string-streamer Stream interface |
| 4 | * |
| 5 | * @package xml-string-streamer |
| 6 | * @author Oskar Thornblad <oskar.thornblad@gmail.com> |
| 7 | */ |
| 8 | |
| 9 | namespace Prewk\XmlStringStreamer; |
| 10 | |
| 11 | /** |
| 12 | * Interface describing a stream provider |
| 13 | */ |
| 14 | interface StreamInterface |
| 15 | { |
| 16 | /** |
| 17 | * Gets the next chunk form the stream if one is available |
| 18 | * @return bool|string The next chunk if available, or false if not available |
| 19 | */ |
| 20 | public function getChunk(); |
| 21 | } |