eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::getNextId PHP Method

getNextId() abstract public method

Returns next value for "id" column.
abstract public getNextId ( ) : mixed
return mixed
    public abstract function getNextId();

Usage Example

 /**
  * 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);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::getNextId