You are here

private function PdoSessionHandlerTest::createStream in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest::createStream()
2 calls to PdoSessionHandlerTest::createStream()
PdoSessionHandlerTest::testReadConvertsStreamToString in vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php
PdoSessionHandlerTest::testReadLockedConvertsStreamToString in vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php, line 314

Class

PdoSessionHandlerTest

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler

Code

private function createStream($content) {
  $stream = tmpfile();
  fwrite($stream, $content);
  fseek($stream, 0);
  return $stream;
}