| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 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) |
||
| 36 | { |
||
| 37 | $this->_input = $input; |
||
| 38 | $this->_inputErrors = $inputErrors; |
||
| 39 | } |
||
| 40 | |||
| 41 | |||
| 42 | /** |
||
| 43 | * @return Input |
||
| 44 | */ |
||
| 45 | public function getInput() |
||
| 48 | } |
||
| 49 | |||
| 50 | |||
| 51 | /** |
||
| 52 | * @return InputErrorCumulative |
||
| 53 | */ |
||
| 54 | public function getCumulativeErrors() |
||
| 57 | } |
||
| 58 | |||
| 60 |