platform/api/laravel/Routing/Middleware/SubstituteBindings.yaml
2024-09-02 10:44:11 -07:00

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: []