| 1 | <?php |
||
| 8 | class ItemNotModifiedEvent extends Event |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ParameterBag |
||
| 12 | */ |
||
| 13 | protected $item; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $reason; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param ParameterBag $item |
||
| 22 | * @param string $reason |
||
| 23 | */ |
||
| 24 | 8 | public function __construct(ParameterBag $item, $reason) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @return ParameterBag |
||
| 32 | */ |
||
| 33 | 2 | public function getItem() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 2 | public function getReason() |
|
| 45 | } |
||
| 46 |