| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class UriFilter implements PreFetchFilterInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array An array of regexes |
||
| 14 | */ |
||
| 15 | public $regexes = array(); |
||
| 16 | |||
| 17 | public function __construct(array $regexes = array()) |
||
| 18 | { |
||
| 19 | $this->regexes = $regexes; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function match(UriInterface $uri) |
||
| 30 | } |
||
| 31 | } |
||
| 32 |