public function AppendStream::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
1 call to AppendStream::getContents()
- AppendStream::__toString in vendor/
guzzlehttp/ psr7/ src/ AppendStream.php - Reads all data from the stream into a string, from the beginning to end.
File
- vendor/
guzzlehttp/ psr7/ src/ AppendStream.php, line 62
Class
- AppendStream
- Reads from multiple streams, one after the other.
Namespace
GuzzleHttp\Psr7Code
public function getContents() {
return copy_to_string($this);
}