platform/api/laravel/Contracts/Routing/UrlRoutable.yaml

56 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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: []