Illuminate\Database\Eloquent\Model::totallyGuarded PHP Method

totallyGuarded() public method

Determine if the model is totally guarded.
public totallyGuarded ( ) : boolean
return boolean
    public function totallyGuarded()
    {
        return count($this->getFillable()) == 0 && $this->getGuarded() == ['*'];
    }
Model