| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 69.23% |
| Changes | 2 | ||
| 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) |
|
| 27 | 2 | } |
|
| 28 | |||
| 29 | 1 | public function __toString(): string |
|
| 30 | { |
||
| 31 | 1 | return $this->crawlAction; |
|
| 32 | } |
||
| 33 | |||
| 34 | 1 | public function getCrawlActionLabel(): string |
|
| 37 | } |
||
| 38 | |||
| 40 |