| 1 | <?php |
||
| 11 | class Pattern implements MatcherInterface |
||
| 12 | { |
||
| 13 | private $pattern; |
||
| 14 | private $flags; |
||
| 15 | private $result = true; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $pattern |
||
| 19 | * @param int $flags |
||
| 20 | */ |
||
| 21 | public function __construct(string $pattern, $flags = 0) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function match(ServerRequestInterface $request): bool |
||
| 38 | } |