Total Complexity | 7 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class CrawlerRestart extends CrawlerContinue |
||
9 | { |
||
10 | 3 | public function __construct(string $id, bool $fromCache = false) |
|
17 | 3 | } |
|
18 | |||
19 | 3 | protected function resetLinks() |
|
23 | 3 | } |
|
24 | |||
25 | 3 | protected function loadFromPreviousCrawl(string $startUrl) |
|
26 | { |
||
27 | 3 | $this->urls[$startUrl] = null; |
|
28 | 3 | } |
|
29 | |||
30 | 3 | protected function getHarvest(Url $url) |
|
46 | } |
||
47 | } |
||
48 |