Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Pantheon
Terminus
Models
TerminusModel
has
Pantheon\Terminus\Models\TerminusModel::has PHP Method
TerminusModel Class Documentation
显示文件
Open project: pantheon-systems/terminus
has()
public
method
Checks whether the model has an attribute
public
has
(
string
$attribute
) :
boolean
$attribute
string
Name of the attribute key
return
boolean
True if attribute exists, false otherwise
public function has($attribute) { $isset = isset($this->attributes->{$attribute}); return $isset; }
TerminusModel
__construct
fetch
get
getUrl
has
parseAttributes
set