| 1 | <?php declare(strict_types=1); |
||
| 5 | class ValidationError implements ValidationErrorInterface |
||
| 6 | { |
||
| 7 | private $code; |
||
| 8 | private $errorMessage; |
||
| 9 | private $helpUrl; |
||
| 10 | private $line; |
||
| 11 | private $col; |
||
| 12 | |||
| 13 | 2 | public function __construct(string $code, string $errorMessage, string $helpUrl, int $line, int $col) |
|
| 21 | |||
| 22 | 1 | public function getCode(): string |
|
| 26 | |||
| 27 | 1 | public function getErrorMessage(): string |
|
| 31 | |||
| 32 | 1 | public function getHelpUrl(): string |
|
| 36 | |||
| 37 | 1 | public function getLine(): int |
|
| 41 | |||
| 42 | 1 | public function getCol(): int |
|
| 46 | } |
||
| 47 |