src/Entities/Entity.php
public function fill(array $attributes)
    {
        if ($this->getFieldManager()) {
            $attributes = $this->getFieldManager()->transformToResource($attributes);
        }
        
        return parent::fill($attributes);
    }
public function fill(array $attributes)
    {
        if ($this->getFieldManager()) {
            $attributes = $this->getFieldManager()->transformToResource($attributes);
        }
        
        return parent::fill($attributes);
    }
Fill the model with an array of attributes.

@param array $attributes
@return $this

@throws \Illuminate\Database\Eloquent\MassAssignmentException