You are here

public function LazyOpenStreamTest::setup in Zircon Profile 8.0

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

File

vendor/guzzlehttp/psr7/tests/LazyOpenStreamTest.php, line 10

Class

LazyOpenStreamTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function setup() {
  $this->fname = tempnam('/tmp', 'tfile');
  if (file_exists($this->fname)) {
    unlink($this->fname);
  }
}