Example #1
0
 /**
  * Informs the PDO wrapper that the PDO statement wrapper is being destroyed and destroys the PDO statement
  */
 public function __destruct()
 {
     if ($this->pdoStatement !== null) {
         $this->pdoWrapper->forgetPdoStatement($this->pdoStatement);
         $this->pdoStatement = null;
     }
 }