| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class MarketWatchSiteCrawler implements SiteCrawlerInterface |
||
| 13 | { |
||
| 14 | private const REQUEST_METHOD = 'GET'; |
||
| 15 | |||
| 16 | private const REQUEST_URL = 'https://www.marketwatch.com/investing/stock/%s'; |
||
| 17 | |||
| 18 | /** @var HtmlCrawlerInterface[] */ |
||
| 19 | private array $crawlers; |
||
| 20 | |||
| 21 | public function __construct(array $crawlers) |
||
| 22 | { |
||
| 23 | $this->crawlers = $crawlers; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function crawl(HttpClientInterface $httpClient, Symbol $symbol): Site |
||
| 42 | } |
||
| 43 | } |
||
| 44 |