36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
|
name: HeaderRequestMatcher
|
||
|
class_comment: '# * Checks the presence of HTTP headers in a Request.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Alexandre Daubois <alex.daubois@gmail.com>'
|
||
|
dependencies:
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Request
|
||
|
- name: RequestMatcherInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\RequestMatcherInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: headers
|
||
|
comment: "# * Checks the presence of HTTP headers in a Request.\n# *\n# * @author\
|
||
|
\ Alexandre Daubois <alex.daubois@gmail.com>\n# */\n# class HeaderRequestMatcher\
|
||
|
\ implements RequestMatcherInterface\n# {\n# /**\n# * @var string[]\n# */\n# private\
|
||
|
\ array $headers;\n# \n# /**\n# * @param string[]|string $headers A header or\
|
||
|
\ a list of headers\n# * Strings can contain a\
|
||
|
\ comma-delimited list of headers"
|
||
|
- name: matches
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: request
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\HttpFoundation\Request
|
||
|
- Symfony\Component\HttpFoundation\RequestMatcherInterface
|
||
|
interfaces:
|
||
|
- RequestMatcherInterface
|