1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +01:00

Update functions.php

This commit is contained in:
Daniil Gentili 2019-08-23 22:54:35 +02:00 committed by GitHub
parent b3e9bdb04f
commit ff425ff87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,26 +140,6 @@ function getStdinLineReader(): LineReader
return $stream;
}
/**
* Get data eventually buffered by the STDIN LineReader.
*
* @return LineReader
*/
function getStdinBuffer(): string
{
return getStdinLineReader()->getBuffer();
}
/**
* Clear data eventually buffered by the STDIN LineReader.
*
* @return void
*/
function clearStdinBuffer()
{
return getStdinLineReader()->clearBuffer();
}
/**
* The STDOUT stream for the process associated with the currently active event loop.
*