/** * Execute the build process */ public function build() { $this->builder->generatedValue($this->strategy); if ($this->name) { $this->builder->setSequenceGenerator($this->name, $this->size, $this->initial); } if ($this->generator) { $this->classMetadata->setCustomGeneratorDefinition(['class' => $this->generator]); } }