Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 90.91% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Crawler implements CrawlerInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var string[] |
||
19 | */ |
||
20 | protected $categories = array( |
||
21 | 'https://mb.com.ph/category/news/national/', |
||
22 | 'https://mb.com.ph/category/news/metro/', |
||
23 | ); |
||
24 | |||
25 | /** |
||
26 | * Returns an array of articles to scrape. |
||
27 | * |
||
28 | * @return string[] |
||
29 | */ |
||
30 | 3 | public function crawl() |
|
51 |