| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 70% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ParuVenduParser extends AbstractParser |
||
| 10 | { |
||
| 11 | protected const PROVIDER = Provider::PARUVENDU; |
||
| 12 | |||
| 13 | protected const SELECTOR_AD_WRAPPER = 'table[style*="border:1px solid #d9d8d4"]'; |
||
| 14 | protected const SELECTOR_LOCATION = 'tr:nth-child(3) td:nth-child(2) span:first-of-type'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritDoc} |
||
| 18 | */ |
||
| 19 | 1 | protected function createCrawler(string $html): Crawler |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | 1 | protected function parseLocation(Crawler $crawler): ?string |
|
| 46 |