| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 93.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class CompanyPage extends AbstractScraper |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | protected $cif; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * CompanyPage constructor. |
||
| 24 | * @param int $cif |
||
| 25 | */ |
||
| 26 | 2 | public function __construct($cif) |
|
| 29 | 2 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | 1 | public function getCif() |
|
| 35 | { |
||
| 36 | 1 | return $this->cif; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param int $cif |
||
| 41 | */ |
||
| 42 | 2 | public function setCif($cif) |
|
| 43 | { |
||
| 44 | 2 | $this->cif = $cif; |
|
| 45 | 2 | } |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritdoc |
||
| 49 | */ |
||
| 50 | 1 | protected function generateCrawler() |
|
| 60 | } |
||
| 61 | } |
||
| 62 |