예제 #1
0
 /**
  * @return null
  */
 public function setUp()
 {
     $this->conn = new Connection($this->getConnectionDetail());
     $this->assertTrue($this->conn->connect());
     $this->driver = $this->conn->getDriver();
     $this->adapter = new Adapter($this->driver);
 }
예제 #2
0
 /**
  * @return null
  */
 public function setUp()
 {
     $this->conn = new Connection($this->getConnectionDetail());
     $this->assertTrue($this->conn->connect());
     $this->driver = $this->conn->getDriver();
     $adapter = new Adapter($this->driver);
     $this->responseCallback = array($adapter, 'createResponse');
     $this->query = new Stmt();
 }
예제 #3
0
 /**
  * @return null
  */
 public function setUp()
 {
     $this->conn = new Connection($this->getConnectionDetail());
     $this->assertTrue($this->conn->connect());
     $this->query = new Stmt();
 }