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
Jenssegers
Model
Model
getAttribute
Jenssegers\Model\Model::getAttribute PHP Method
Model Class Documentation
Datei anzeigen
Open project: jenssegers/model
getAttribute()
public
method
Get an attribute from the model.
public
getAttribute
(
string
$key
) :
mixed
$key
string
return
mixed
public function getAttribute($key) { return $this->getAttributeValue($key); }
Model
__callStatic
__construct
__get
__isset
__set
__toString
__unset
addHidden
addVisible
asJson
attributesToArray
cacheMutatedAttributes
castAttribute
fill
fillable
fillableFromArray
forceFill
fromJson
getArrayableAppends
getArrayableAttributes
getArrayableItems
getAttribute
getAttributeFromArray
getAttributeValue
getAttributes
getCastType
getFillable
getGuarded
getHidden
getMutatedAttributes
getVisible
guard
hasCast
hasGetMutator
hasSetMutator
hydrate
isFillable
isGuarded
isJsonCastable
isUnguarded
jsonSerialize
mutateAttribute
mutateAttributeForArray
newInstance
offsetExists
offsetGet
offsetSet
offsetUnset
reguard
replicate
setAppends
setAttribute
setHidden
setVisible
toArray
toJson
totallyGuarded
unguard
unguarded
withHidden