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