protected function PdoSessionHandlerTest::getMemorySqlitePdo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest::getMemorySqlitePdo()
10 calls to PdoSessionHandlerTest::getMemorySqlitePdo()
- PdoSessionHandlerTest::testCreateTableTwice in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php - @expectedException \RuntimeException
- PdoSessionHandlerTest::testGetConnection in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php - PdoSessionHandlerTest::testInexistentTable in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php - @expectedException \RuntimeException
- PdoSessionHandlerTest::testReadingRequiresExactlySameId in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php - PdoSessionHandlerTest::testReadWriteReadWithNullByte in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php, line 42
Class
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
protected function getMemorySqlitePdo() {
$pdo = new \PDO('sqlite::memory:');
$pdo
->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
$storage = new PdoSessionHandler($pdo);
$storage
->createTable();
return $pdo;
}