protected function mergeDefaultAttributes(array $attributes) { if ($this->schema && !empty($this->schema->getDefaultValues())) { $attributes = array_merge($this->schema->getDefaultValues(), $attributes); } return $attributes; }