public function __construct(RedBeanModel $model) { parent::__construct($model); $modelAttributesAdapter = new ModelAttributesAdapter($this->model); $attributeInformation = $modelAttributesAdapter->getAttributes(); foreach ($attributeInformation as $attributeName => $attributeData) { if (in_array($attributeData['elementType'], static::getDynamicAttributeTypes())) { $this->dynamicAttributeNames[] = $attributeName . FormModelUtil::DELIMITER . $attributeData['elementType']; } } }