protected function buildProperties(PropertiesInterface $model) { foreach ($model->getProperties() as $property) { $this->generate($property); } }