| Total Complexity | 5 |
| Total Lines | 30 |
| 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) |
|
| 15 | 3 | } |
|
| 16 | |||
| 17 | 3 | protected function loadFromPreviousCrawl(string $startUrl) |
|
| 18 | { |
||
| 19 | 3 | $this->urls[$startUrl] = null; |
|
| 20 | 3 | } |
|
| 21 | |||
| 22 | 3 | protected function getHarvest(Url $url) |
|
| 38 | } |
||
| 39 | } |
||
| 40 |