| 1 | <?php |
||
| 11 | class ProcessingResult { |
||
| 12 | |||
| 13 | private $parameters; |
||
| 14 | private $errors; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param ProcessedParam[] $parameters |
||
| 18 | * @param ProcessingError[] $errors |
||
| 19 | */ |
||
| 20 | 56 | public function __construct( array $parameters, array $errors = [] ) { |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return ProcessedParam[] |
||
| 27 | */ |
||
| 28 | 1 | public function getParameters(): array { |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @since 1.8 |
||
| 34 | */ |
||
| 35 | 51 | public function getParameterArray(): array { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return ProcessingError[] |
||
| 47 | */ |
||
| 48 | 1 | public function getErrors(): array { |
|
| 51 | |||
| 52 | 3 | public function hasFatal(): bool { |
|
| 61 | |||
| 62 | } |
||
| 63 |