| 1 | <?php |
||
| 10 | class FailedItemModificationEvent extends Event |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ParameterBag |
||
| 14 | */ |
||
| 15 | protected $item; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var ModifierInterface |
||
| 19 | */ |
||
| 20 | protected $modifier; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ModificationException |
||
| 24 | */ |
||
| 25 | protected $exception; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var bool |
||
| 29 | */ |
||
| 30 | protected $continue = false; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ParameterBag $item |
||
| 34 | * @param ModifierInterface $modifier |
||
| 35 | * @param ModificationException $exception |
||
| 36 | */ |
||
| 37 | 8 | public function __construct(ParameterBag $item, ModifierInterface $modifier, ModificationException $exception) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return ParameterBag |
||
| 46 | */ |
||
| 47 | 2 | public function getItem() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return ModifierInterface |
||
| 54 | */ |
||
| 55 | 2 | public function getModifier() |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @return ModificationException |
||
| 62 | */ |
||
| 63 | 2 | public function getException() |
|
| 67 | |||
| 68 | /** |
||
| 69 | * @param bool $bool |
||
| 70 | */ |
||
| 71 | 8 | public function setContinue($bool) |
|
| 75 | |||
| 76 | /** |
||
| 77 | * @return bool |
||
| 78 | */ |
||
| 79 | 8 | public function getContinue() |
|
| 83 | } |
||
| 84 |