Beispiel #1
0
 /**
  * @param  Statement $statementPrototype
  * @return IbmDb2
  */
 public function registerStatementPrototype(Statement $statementPrototype)
 {
     $this->statementPrototype = $statementPrototype;
     $this->statementPrototype->setDriver($this);
     return $this;
 }
Beispiel #2
0
 /**
  * @covers Zend\Db\Adapter\Driver\IbmDb2\Statement::setDriver
  */
 public function testSetDriver()
 {
     $this->assertEquals($this->statement, $this->statement->setDriver(new IbmDb2(array())));
 }