Documentation

UrlRoutable

Table of Contents

getRouteKey()  : mixed
Get the value of the model's route key.
getRouteKeyName()  : string
Get the route key for the model.
resolveRouteBinding()  : Model|null
Retrieve the model for a bound value.

Methods

getRouteKey()

Get the value of the model's route key.

public getRouteKey() : mixed
Return values
mixed

getRouteKeyName()

Get the route key for the model.

public getRouteKeyName() : string
Return values
string

resolveRouteBinding()

Retrieve the model for a bound value.

public resolveRouteBinding(mixed $value) : Model|null
Parameters
$value : mixed
Return values
Model|null

Search results