| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class CrawlAction |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $crawlAction; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $crawlActionLabel; |
||
| 20 | |||
| 21 | 3 | public function __construct(string $crawlAction, string $crawlActionLabel) |
|
| 28 | 2 | } |
|
| 29 | |||
| 30 | 1 | public function __toString(): string |
|
| 31 | { |
||
| 32 | 1 | return $this->crawlAction; |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function getCrawlActionLabel(): string |
|
| 38 | } |
||
| 39 | |||
| 41 |