You are here

public function StreamInterface::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.

5 methods override StreamInterface::getContents()
AppendStream::getContents in vendor/guzzlehttp/psr7/src/AppendStream.php
Returns the remaining contents in a string
BufferStream::getContents in vendor/guzzlehttp/psr7/src/BufferStream.php
Returns the remaining contents in a string
FnStream::getContents in vendor/guzzlehttp/psr7/src/FnStream.php
Returns the remaining contents in a string
PumpStream::getContents in vendor/guzzlehttp/psr7/src/PumpStream.php
Returns the remaining contents in a string
Stream::getContents in vendor/guzzlehttp/psr7/src/Stream.php
Returns the remaining contents in a string

File

vendor/psr/http-message/src/StreamInterface.php, line 143

Class

StreamInterface
Describes a data stream.

Namespace

Psr\Http\Message

Code

public function getContents();