Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class Crawler implements CrawlerInterface |
||
16 | { |
||
17 | /** |
||
18 | * Returns an array of articles to scrape. |
||
19 | * |
||
20 | * @return string[] |
||
21 | */ |
||
22 | 3 | public function crawl() |
|
46 | } |
||
47 | |||
48 | /** |
||
49 | * Returns the allowed article URLs to scrape. |
||
50 | * |
||
51 | * @param string[] $items |
||
52 | * @return string[] |
||
53 | */ |
||
54 | protected function verify($items) |
||
66 |