| 
    Open Journal Systems
    3.3.0
    
   | 
 
  
Public Member Functions | |
| __construct (StreamInterface $stream, $maxLength) | |
| write ($string) | |
  Public Member Functions inherited from Psr\Http\Message\StreamInterface | |
| __toString () | |
| close () | |
| detach () | |
| eof () | |
| getContents () | |
| getMetadata ($key=null) | |
| getSize () | |
| isReadable () | |
| isSeekable () | |
| isWritable () | |
| read ($length) | |
| rewind () | |
| seek ($offset, $whence=SEEK_SET) | |
| tell () | |
Stream decorator that begins dropping data once the size of the underlying stream becomes too full.
Definition at line 10 of file DroppingStream.php.
| GuzzleHttp\Psr7\DroppingStream::__construct | ( | StreamInterface | $stream, | 
| $maxLength | |||
| ) | 
| StreamInterface | $stream | Underlying stream to decorate. | 
| int | $maxLength | Maximum size before dropping data. | 
Definition at line 20 of file DroppingStream.php.
| GuzzleHttp\Psr7\DroppingStream::write | ( | $string | ) | 
Write data to the stream.
| string | $string | The string that is to be written. | 
Implements Psr\Http\Message\StreamInterface.
Definition at line 26 of file DroppingStream.php.