Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Mongolid
Model
AttributesAccessInterface
setAttribute
Mongolid\Model\AttributesAccessInterface::setAttribute PHP Метод
Документация по интерфейсу AttributesAccessInterface
Показать файл
Открыть проект
setAttribute()
публичный
Метод
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.
Результат
void
public function setAttribute(string $key, $value);
AttributesAccessInterface
cleanAttribute
fill
getAttribute
getAttributes
setAttribute
syncOriginalAttributes