26 lines
615 B
YAML
26 lines
615 B
YAML
|
name: IsJsonRequestMatcher
|
||
|
class_comment: '# * Checks the Request content is valid JSON.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Fabien Potencier <fabien@symfony.com>'
|
||
|
dependencies:
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Request
|
||
|
- name: RequestMatcherInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\RequestMatcherInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: matches
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: request
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\HttpFoundation\Request
|
||
|
- Symfony\Component\HttpFoundation\RequestMatcherInterface
|
||
|
interfaces:
|
||
|
- RequestMatcherInterface
|