| 1 | <?php |
||
| 10 | class CheckResult extends Event |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $format; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $content; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ValidationResult |
||
| 24 | */ |
||
| 25 | protected $validationResult; |
||
| 26 | |||
| 27 | 1 | public function __construct(string $format, string $content, ValidationResult $validationResult) |
|
| 33 | |||
| 34 | 1 | public function getFormat(): string |
|
| 38 | |||
| 39 | 1 | public function getContent(): string |
|
| 43 | |||
| 44 | 1 | public function getValidationResult(): ValidationResult |
|
| 48 | |||
| 49 | public function isValid(): bool |
||
| 53 | } |
||
| 54 |