LMongo\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->fillable) == 0 and $this->guarded == array('*');
    }
Model