Mongolid\Model\Attributes::cleanAttribute PHP Method

cleanAttribute() public method

Set a given attribute on the model.
public cleanAttribute ( string $key ) : void
$key string Name of the attribute to be unset.
return void
    public function cleanAttribute(string $key)
    {
        unset($this->attributes[$key]);
    }