<?php array_diff_key(array $array, array ...$arrays): array
<?php $attributes = array_merge($this->definition(), $attributes, $this->state); if (!empty($this->except)) { $attributes = array_diff_key($attributes, array_flip($this->except)); } $instance = new $this->modelName();