Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Mongolid
Model
Attributes
cleanAttribute
Mongolid\Model\Attributes::cleanAttribute PHP Method
Attributes Trait Documentation
Show file
Open project: leroy-merlin-br/mongolid
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]); }
Attributes
__get
__isset
__set
__unset
buildMutatorMethod
cleanAttribute
fill
getAttribute
getAttributes
hasMutatorMethod
setAttribute
syncOriginalAttributes
toArray