You are here

public function MockPdo::prepare in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\MockPdo::prepare()

File

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

Class

MockPdo

Namespace

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

Code

public function prepare($statement, $driverOptions = array()) {
  return is_callable($this->prepareResult) ? call_user_func($this->prepareResult, $statement, $driverOptions) : $this->prepareResult;
}