public function MessageTrait::getBody in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-diactoros/src/MessageTrait.php \Zend\Diactoros\MessageTrait::getBody()
- 8.0 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::getBody()
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::getBody()
File
- vendor/
guzzlehttp/ psr7/ src/ MessageTrait.php, line 119
Class
- MessageTrait
- Trait implementing functionality common to requests and responses.
Namespace
GuzzleHttp\Psr7Code
public function getBody() {
if (!$this->stream) {
$this->stream = stream_for('');
}
return $this->stream;
}