You are here

public function FnStream::getContents in Auth0 Single Sign On 8.2

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);
}