1 | <?php |
||
11 | class LongUrlFilter implements Filter |
||
12 | { |
||
13 | /** |
||
14 | * Filter urls that are too long. Mostly that is a sign of infinite loops |
||
15 | * |
||
16 | * @param UriInterface $currentUri |
||
17 | * @param UriInterface $startUri |
||
18 | * @return bool |
||
19 | */ |
||
20 | public function isFiltered(UriInterface $currentUri, UriInterface $startUri) |
||
24 | |||
25 | public function isResponseFiltered(ResponseInterface $response, UriInterface $startUri) |
||
29 | } |
||
30 |