56 lines
1 KiB
YAML
56 lines
1 KiB
YAML
|
name: UrlRoutable
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: getRouteKey
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the value of the model''s route key.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return mixed'
|
||
|
- name: getRouteKeyName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the route key for the model.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: resolveRouteBinding
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: value
|
||
|
- name: field
|
||
|
default: 'null'
|
||
|
comment: '# * Retrieve the model for a bound value.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param mixed $value
|
||
|
|
||
|
# * @param string|null $field
|
||
|
|
||
|
# * @return \Illuminate\Database\Eloquent\Model|null'
|
||
|
- name: resolveChildRouteBinding
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: childType
|
||
|
- name: value
|
||
|
- name: field
|
||
|
comment: '# * Retrieve the child model for a bound value.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $childType
|
||
|
|
||
|
# * @param mixed $value
|
||
|
|
||
|
# * @param string|null $field
|
||
|
|
||
|
# * @return \Illuminate\Database\Eloquent\Model|null'
|
||
|
traits: []
|
||
|
interfaces: []
|