84 lines
2.1 KiB
YAML
84 lines
2.1 KiB
YAML
|
name: ImplicitRouteBinding
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: UrlRoutable
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\Routing\UrlRoutable
|
||
|
- name: ModelNotFoundException
|
||
|
type: class
|
||
|
source: Illuminate\Database\Eloquent\ModelNotFoundException
|
||
|
- name: SoftDeletes
|
||
|
type: class
|
||
|
source: Illuminate\Database\Eloquent\SoftDeletes
|
||
|
- name: BackedEnumCaseNotFoundException
|
||
|
type: class
|
||
|
source: Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException
|
||
|
- name: Reflector
|
||
|
type: class
|
||
|
source: Illuminate\Support\Reflector
|
||
|
- name: Str
|
||
|
type: class
|
||
|
source: Illuminate\Support\Str
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: resolveForRoute
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: container
|
||
|
- name: route
|
||
|
comment: '# * Resolve the implicit route bindings for the given route.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Container\Container $container
|
||
|
|
||
|
# * @param \Illuminate\Routing\Route $route
|
||
|
|
||
|
# * @return void
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model>
|
||
|
|
||
|
# * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException'
|
||
|
- name: resolveBackedEnumsForRoute
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: route
|
||
|
- name: parameters
|
||
|
comment: '# * Resolve the Backed Enums route bindings for the route.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Routing\Route $route
|
||
|
|
||
|
# * @param array $parameters
|
||
|
|
||
|
# * @return \Illuminate\Routing\Route
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException'
|
||
|
- name: getParameterName
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: name
|
||
|
- name: parameters
|
||
|
comment: '# * Return the parameter name if it exists in the given parameters.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $name
|
||
|
|
||
|
# * @param array $parameters
|
||
|
|
||
|
# * @return string|null'
|
||
|
traits:
|
||
|
- Illuminate\Contracts\Routing\UrlRoutable
|
||
|
- Illuminate\Database\Eloquent\ModelNotFoundException
|
||
|
- Illuminate\Database\Eloquent\SoftDeletes
|
||
|
- Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException
|
||
|
- Illuminate\Support\Reflector
|
||
|
- Illuminate\Support\Str
|
||
|
interfaces: []
|