1 | <?php |
||
11 | class MethodAndPathMatcher implements RequestMatcherInterface { |
||
12 | |||
13 | /** @var string */ |
||
14 | private $method; |
||
15 | |||
16 | /** @var string */ |
||
17 | private $pathRegex; |
||
18 | |||
19 | 2 | public function __construct(string $method, string $pathRegex) |
|
24 | |||
25 | 2 | public function match(RequestInterface $request): RequestMatchResultInterface |
|
41 | } |
||
42 |