public function MessageTrait::getBody in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/MessageTrait.php \Zend\Diactoros\MessageTrait::getBody()
- 8 vendor/guzzlehttp/psr7/src/MessageTrait.php \GuzzleHttp\Psr7\MessageTrait::getBody()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-diactoros/src/MessageTrait.php \Zend\Diactoros\MessageTrait::getBody()
Gets the body of the message.
Return value
StreamInterface Returns the body as a stream.
File
- vendor/
zendframework/ zend-diactoros/ src/ MessageTrait.php, line 288
Class
- MessageTrait
- Trait implementing the various methods defined in MessageInterface.
Namespace
Zend\DiactorosCode
public function getBody() {
return $this->stream;
}