/** * Retrieve next value * * @return string */ public function getNextValue() { $this->adapter->insert($this->meta->getSequenceTable(), []); $this->lastIncrementId = $this->adapter->lastInsertId($this->meta->getSequenceTable()); return $this->getCurrentValue(); }