| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class LogfileContentCheck extends AbstractCheck |
||
| 7 | { |
||
| 8 | |||
| 9 | protected $filename; |
||
| 10 | protected $content; |
||
| 11 | |||
| 12 | public function __construct(string $label, string $filename) |
||
| 13 | { |
||
| 14 | parent::__construct($label); |
||
| 15 | $this->filename = $filename; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function setCheckfor($content): void |
||
| 19 | { |
||
| 20 | $this->content = $content; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function checkStatus(): Result |
||
| 40 | } |
||
| 41 | } |
||
| 42 |