public function instanceWrite($property, $value) { $fieldName = "{$this->name}_{$property}"; $this->instance->setAttribute($fieldName, $value); }