api/laravel/Routing/Matching/MethodValidator.yaml

31 lines
588 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: MethodValidator
class_comment: null
dependencies:
- name: Request
type: class
source: Illuminate\Http\Request
- name: Route
type: class
source: Illuminate\Routing\Route
properties: []
methods:
- name: matches
visibility: public
parameters:
- name: route
- name: request
comment: '# * Validate a given rule against a route and request.
# *
# * @param \Illuminate\Routing\Route $route
# * @param \Illuminate\Http\Request $request
# * @return bool'
traits:
- Illuminate\Http\Request
- Illuminate\Routing\Route
interfaces:
- ValidatorInterface