You are here

public function StreamDecoratorTrait::getContents in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::getContents()
1 call to StreamDecoratorTrait::getContents()
StreamDecoratorTrait::__toString in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 53

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

public function getContents() {
  return copy_to_string($this);
}