Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Jenssegers
Model
Model
__get
Jenssegers\Model\Model::__get PHP Method
Model Class Documentation
Show file
Open project: jenssegers/model
__get()
public
method
Dynamically retrieve attributes on the model.
public
__get
(
string
$key
) :
mixed
$key
string
return
mixed
public function __get($key) { return $this->getAttribute($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