Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Mongolid
Model
AttributesAccessInterface
setAttribute
Mongolid\Model\AttributesAccessInterface::setAttribute PHP Method
AttributesAccessInterface Interface Documentation
Datei anzeigen
Open project: leroy-merlin-br/mongolid
setAttribute()
public
method
Set a given attribute on the model.
public
setAttribute
(
string
$key
,
mixed
$value
) :
void
$key
string
Name of the attribute to be set.
$value
mixed
Value to be set.
return
void
public function setAttribute(string $key, $value);
AttributesAccessInterface
cleanAttribute
fill
getAttribute
getAttributes
setAttribute
syncOriginalAttributes