1 | <?php |
||
10 | class CheckRequest extends Event |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $format; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $content; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $responseSchemaLocation; |
||
26 | |||
27 | /** |
||
28 | * @var null|ValidationResult |
||
29 | */ |
||
30 | protected $validationResult; |
||
31 | |||
32 | 1 | public function __construct(string $format, string $content, string $responseSchemaLocation) |
|
38 | |||
39 | public function getFormat(): string |
||
43 | |||
44 | public function getContent(): string |
||
48 | |||
49 | public function getResponseSchemaLocation(): string |
||
53 | |||
54 | 1 | public function setValidationResult(ValidationResult $validationResult): self |
|
60 | |||
61 | 1 | public function getValidationResult(): ?ValidationResult |
|
65 | } |
||
66 |