LineReader
class LineReader implements Transient
| internal |
Constants
| private READ_SIZE |
|
Methods
string
readLine(StreamInterface $stream)
Read a line including its LF, or the final unterminated line at EOF.
Details
at line 28
string
readLine(StreamInterface $stream)
Read a line including its LF, or the final unterminated line at EOF.
Return an empty string while no complete line is available; check eof() to distinguish this from the end of the body.
at line 71
static Generator
lines(StreamInterface $stream)
Read lines without LF or its preceding CR, preserving an unterminated line.