platform/api/symfony/Component/HttpFoundation/RequestMatcher/SchemeRequestMatcher.yaml
2024-09-02 10:44:11 -07:00

34 lines
1.1 KiB
YAML

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