Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Jenssegers
Model
Model
getCastType
Jenssegers\Model\Model::getCastType PHP Method
Model Class Documentation
ファイルを表示
Open project: jenssegers/model
getCastType()
protected
method
Get the type of cast for a model attribute.
protected
getCastType
(
string
$key
) :
string
$key
string
return
string
protected function getCastType($key) { return trim(strtolower($this->casts[$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