/** * Build a prototype (once) for the entity. * * @return void */ private function buildPrototype() { if (empty($this->prototype)) { $this->prototype = $this->builder->create($this->entityName); } }