| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class LogicImmoParser extends AbstractParser |
||
| 10 | { |
||
| 11 | protected const PROVIDER = Provider::LOGIC_IMMO; |
||
| 12 | |||
| 13 | protected const SELECTOR_AD_WRAPPER = 'td[width="10"] + .full[width="270"]'; |
||
| 14 | protected const SELECTOR_LOCATION = 'tr:nth-child(3) tr:nth-child(3) a'; |
||
| 15 | protected const SELECTOR_DESCRIPTION = 'tr:nth-child(3) tr:nth-child(4) a'; |
||
| 16 | protected const SELECTOR_PHOTO = '.background'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | */ |
||
| 21 | 1 | protected function parsePhoto(Crawler $crawler): ?string |
|
| 30 |