Example #1
0
 private function createConnection($sql, $data)
 {
     $this->stmt = MysqlConnection::prepare($sql);
     $this->bindParams($data);
     return $this;
 }