Xpressengine\Support\Entity::isFillable PHP Method

isFillable() public method

Determine if the given attribute may be mass assigned.
public isFillable ( string $key ) : boolean
$key string key name
return boolean
    public function isFillable($key)
    {
        if (in_array($key, $this->fillable)) {
            return true;
        }
        if ($this->isGuarded($key)) {
            return false;
        }
        return empty($this->fillable);
    }