public function getNextId($strTable) { $statement = $this->resConnection->executeQuery('SHOW TABLE STATUS LIKE ' . $this->resConnection->quote($strTable)); $status = $statement->fetch(\PDO::FETCH_ASSOC); return $status['Auto_increment']; }