/** * Create a new model id * * @return string */ protected function createId() { $modelId = UniqueID::create(); $this->setId($modelId); return $this->getId(); }