src/RequestMatcher/RequestMatcher.php 2 locations
|
@@ 68-70 (lines=3) @@
|
| 65 |
|
return false; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
if (null !== $this->path && !preg_match('{'.$this->path.'}', rawurldecode($request->getUri()->getPath()))) { |
| 69 |
|
return false; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) { |
| 73 |
|
return false; |
|
@@ 72-74 (lines=3) @@
|
| 69 |
|
return false; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
if (null !== $this->host && !preg_match('{'.$this->host.'}i', $request->getUri()->getHost())) { |
| 73 |
|
return false; |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
return true; |
| 77 |
|
} |