src/RequestMatcher/RegexRequestMatcher.php 2 locations
|
@@ 78-81 (lines=4) @@
|
| 75 |
|
return false; |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
if (null !== $this->path && !preg_match('{'.$this->path.'}', rawurldecode($request->getUri()->getPath()))) { |
| 79 |
|
return false; |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) { |
| 83 |
|
return false; |
| 84 |
|
} |
|
@@ 82-84 (lines=3) @@
|
| 79 |
|
return false; |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) { |
| 83 |
|
return false; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
return true; |
| 87 |
|
} |