| 1 | <?php |
||
| 15 | class PersistInputErrorEvent extends Event |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var Input |
||
| 20 | */ |
||
| 21 | private $_input; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var InputErrorCumulative |
||
| 25 | */ |
||
| 26 | private $_inputErrors; |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * InputErrorEvent constructor. |
||
| 31 | * |
||
| 32 | * @param Input $input |
||
| 33 | * @param InputErrorCumulative $inputErrors |
||
| 34 | */ |
||
| 35 | public function __construct(Input $input, InputErrorCumulative $inputErrors) |
||
| 40 | |||
| 41 | |||
| 42 | /** |
||
| 43 | * @return Input |
||
| 44 | */ |
||
| 45 | public function getInput() |
||
| 49 | |||
| 50 | |||
| 51 | /** |
||
| 52 | * @return InputErrorCumulative |
||
| 53 | */ |
||
| 54 | public function getCumulativeErrors() |
||
| 58 | |||
| 59 | } |
||
| 60 |