public function StreamDecoratorTraitTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/StreamDecoratorTraitTest.php \GuzzleHttp\Tests\Psr7\StreamDecoratorTraitTest::setUp()
File
- vendor/
guzzlehttp/ psr7/ tests/ StreamDecoratorTraitTest.php, line 22
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function setUp() {
$this->c = fopen('php://temp', 'r+');
fwrite($this->c, 'foo');
fseek($this->c, 0);
$this->a = Psr7\stream_for($this->c);
$this->b = new Str($this->a);
}