public function StreamInterface::getContents in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/StreamInterface.php \Psr\Http\Message\StreamInterface::getContents()
Returns the remaining contents in a string
Return value
string
Throws
\RuntimeException if unable to read or an error occurs while reading.
8 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
- RelativeStream::getContents in vendor/
zendframework/ zend-diactoros/ src/ RelativeStream.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\MessageCode
public function getContents();