Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Pantheon
Terminus
Models
TerminusModel
set
Pantheon\Terminus\Models\TerminusModel::set PHP Method
TerminusModel Class Documentation
Mostra file
Open project: pantheon-systems/terminus
set()
public
method
Sets an attribute
public
set
(
string
$attribute
,
mixed
$value
)
$attribute
string
Name of the attribute key
$value
mixed
The value to assign to the attribute
public function set($attribute, $value) { $this->attributes->{$attribute} = $value; }
TerminusModel
__construct
fetch
get
getUrl
has
parseAttributes
set