protected final function insert($tableName, $data) { $driver = $this->db->getDriver(); $id = $driver->insert($this->db, $tableName, $data); echo 'Data into table ' . $tableName . ' is inserted' . "\n"; return $id; }