protected function generate(AbstractModel $model) { $builder = $this->generator->getFactory()->getBuilder($model); $builder->build($model); }