You are here

public function MockPdo::__construct 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\MockPdo::__construct()

File

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

Class

MockPdo

Namespace

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

Code

public function __construct($driverName = null, $errorMode = null) {
  $this->driverName = $driverName;
  $this->errorMode = null !== $errorMode ?: \PDO::ERRMODE_EXCEPTION;
}