Read data from the stream
int $length Up to length number of bytes read.:
string|bool Returns the data read from the stream or FALSE on failure or EOF
Overrides StreamInterface::read
public function read($length) {
return $this->cache[self::IS_READABLE] ? fread($this->stream, $length) : false;
}