Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Illuminate
Database
Eloquent
Model
getRouteKey
Illuminate\Database\Eloquent\Model::getRouteKey PHP Method
Model Class Documentation
Exibir arquivo
Open project: illuminate/database
getRouteKey()
public
method
Get the value of the model's route key.
public
getRouteKey
( ) :
mixed
return
mixed
public function getRouteKey() { return $this->getAttribute($this->getRouteKeyName()); }
Model
__call
__callStatic
__construct
__get
__isset
__set
__toString
__unset
__wakeup
addGlobalScope
addHidden
addObservableEvents
addVisible
all
append
asDateTime
asJson
asTimeStamp
attributesToArray
belongsTo
belongsToMany
boot
bootIfNotBooted
bootTraits
cacheMutatedAttributes
castAttribute
clearBootedModels
create
created
creating
decrement
delete
deleted
deleting
destroy
fill
fillJsonAttribute
fillable
fillableFromArray
finishSave
fireModelEvent
flushEventListeners
forceCreate
forceDelete
forceFill
fresh
freshTimestamp
freshTimestampString
fromDateTime
fromJson
getActualClassNameForMorph
getArrayableAppends
getArrayableAttributes
getArrayableItems
getArrayableRelations
getAttribute
getAttributeFromArray
getAttributeValue
getAttributes
getBelongsToManyCaller
getCastType
getCasts
getConnection
getConnectionName
getConnectionResolver
getCreatedAtColumn
getDateFormat
getDates
getDirty
getEventDispatcher
getFillable
getForeignKey
getGlobalScope
getGlobalScopes
getGuarded
getHidden
getIncrementing
getKey
getKeyForSaveQuery
getKeyName
getKeyType
getMorphClass
getMorphs
getMutatedAttributes
getObservableEvents
getOriginal
getPerPage
getQualifiedKeyName
getQueueableId
getRelation
getRelationValue
getRelations
getRelationshipFromMethod
getRouteKey
getRouteKeyName
getTable
getTouchedRelations
getUpdatedAtColumn
getVisible
guard
hasCast
hasGetMutator
hasGlobalScope
hasMany
hasManyThrough
hasOne
hasSetMutator
hydrate
hydrateRaw
increment
incrementOrDecrement
incrementOrDecrementAttributeValue
insertAndSetId
is
isClean
isDateCastable
isDirty
isFillable
isGuarded
isJsonCastable
isUnguarded
joiningTable
jsonSerialize
load
makeHidden
makeVisible
morphMany
morphOne
morphTo
morphToMany
morphedByMany
mutateAttribute
mutateAttributeForArray
newBaseQueryBuilder
newCollection
newEloquentBuilder
newFromBuilder
newInstance
newPivot
newQuery
newQueryWithoutScope
newQueryWithoutScopes
observe
offsetExists
offsetGet
offsetSet
offsetUnset
on
onWriteConnection
originalIsNumericallyEquivalent
performDeleteOnModel
performInsert
performUpdate
push
query
registerModelEvent
reguard
relationLoaded
relationsToArray
removeObservableEvents
removeTableFromKey
replicate
resolveConnection
save
saveOrFail
saved
saving
serializeDate
setAppends
setAttribute
setConnection
setConnectionResolver
setCreatedAt
setDateFormat
setEventDispatcher
setHidden
setIncrementing
setKeyName
setKeysForSaveQuery
setObservableEvents
setPerPage
setRawAttributes
setRelation
setRelations
setTable
setTouchedRelations
setUpdatedAt
setVisible
syncOriginal
syncOriginalAttribute
toArray
toJson
totallyGuarded
touch
touchOwners
touches
unguard
unguarded
unsetConnectionResolver
unsetEventDispatcher
update
updateTimestamps
updated
updating
usesTimestamps
with