LMongo\Eloquent\Model::isGuarded PHP Method

isGuarded() public method

Determine if the given key is guarded.
public isGuarded ( string $key ) : boolean
$key string
return boolean
    public function isGuarded($key)
    {
        return in_array($key, $this->guarded) or $this->guarded == array('*');
    }
Model