You are here

public function LimitStreamTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::setUp()

File

vendor/guzzlehttp/psr7/tests/LimitStreamTest.php, line 21

Class

LimitStreamTest
@covers GuzzleHttp\Psr7\LimitStream

Namespace

GuzzleHttp\Tests\Psr7

Code

public function setUp() {
  $this->decorated = Psr7\stream_for(fopen(__FILE__, 'r'));
  $this->body = new LimitStream($this->decorated, 10, 3);
}