You are here

public function FnStream::getContents in Lockr 7.3

Returns the remaining contents in a string

Return value

string

Throws

\RuntimeException if unable to read or an error occurs while reading.

Overrides StreamInterface::getContents

File

vendor/guzzlehttp/psr7/src/FnStream.php, line 149

Class

FnStream
Compose stream implementations based on a hash of functions.

Namespace

GuzzleHttp\Psr7

Code

public function getContents() {
  return call_user_func($this->_fn_getContents);
}