public abstract function getNextId();
/** * Returns next value for "id" column. * * @return mixed */ public function getNextId() { try { return $this->innerGateway->getNextId(); } catch (DBALException $e) { throw new \RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new \RuntimeException('Database error', 0, $e); } }