48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: SubstituteBindings
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Closure
|
|
type: class
|
|
source: Closure
|
|
- name: Registrar
|
|
type: class
|
|
source: Illuminate\Contracts\Routing\Registrar
|
|
- name: ModelNotFoundException
|
|
type: class
|
|
source: Illuminate\Database\Eloquent\ModelNotFoundException
|
|
properties:
|
|
- name: router
|
|
visibility: protected
|
|
comment: '# * The router instance.
|
|
|
|
# *
|
|
|
|
# * @var \Illuminate\Contracts\Routing\Registrar'
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: router
|
|
comment: "# * The router instance.\n# *\n# * @var \\Illuminate\\Contracts\\Routing\\\
|
|
Registrar\n# */\n# protected $router;\n# \n# /**\n# * Create a new bindings substitutor.\n\
|
|
# *\n# * @param \\Illuminate\\Contracts\\Routing\\Registrar $router\n# * @return\
|
|
\ void"
|
|
- name: handle
|
|
visibility: public
|
|
parameters:
|
|
- name: request
|
|
- name: next
|
|
comment: '# * Handle an incoming request.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Http\Request $request
|
|
|
|
# * @param \Closure $next
|
|
|
|
# * @return mixed'
|
|
traits:
|
|
- Closure
|
|
- Illuminate\Contracts\Routing\Registrar
|
|
- Illuminate\Database\Eloquent\ModelNotFoundException
|
|
interfaces: []
|