LMongo\Eloquent\Model::guard PHP Method

guard() public method

Set the guarded attributes for the model.
public guard ( array $guarded ) : Model
$guarded array
return Model
    public function guard(array $guarded)
    {
        $this->guarded = $guarded;
        return $this;
    }
Model