api/symfony/Component/HttpFoundation/RequestMatcher/SchemeRequestMatcher.yaml

35 lines
1.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: SchemeRequestMatcher
class_comment: '# * Checks the HTTP scheme of a Request.
# *
# * @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: __construct
visibility: public
parameters:
- name: schemes
comment: "# * Checks the HTTP scheme of a Request.\n# *\n# * @author Fabien Potencier\
\ <fabien@symfony.com>\n# */\n# class SchemeRequestMatcher implements RequestMatcherInterface\n\
# {\n# /**\n# * @var string[]\n# */\n# private array $schemes;\n# \n# /**\n# *\
\ @param string[]|string $schemes A scheme or a list of schemes\n# * \
\ Strings can contain a comma-delimited list of schemes"
- name: matches
visibility: public
parameters:
- name: request
comment: null
traits:
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\RequestMatcherInterface
interfaces:
- RequestMatcherInterface