You are here

public function MessageTrait::getBody in Lockr 7.3

File

vendor/guzzlehttp/psr7/src/MessageTrait.php, line 123

Class

MessageTrait
Trait implementing functionality common to requests and responses.

Namespace

GuzzleHttp\Psr7

Code

public function getBody() {
  if (!$this->stream) {
    $this->stream = stream_for('');
  }
  return $this->stream;
}