| 1 | <?php |
||
| 6 | class UserPreferenceEvent extends Event |
||
| 7 | { |
||
| 8 | private $_key = null; |
||
| 9 | private $_value = null; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @inheritdoc |
||
| 13 | */ |
||
| 14 | public function __construct($key, $value, $config = []) |
||
| 15 | { |
||
| 16 | parent::__construct($config); |
||
| 17 | |||
| 18 | $this->_key = $key; |
||
| 19 | $this->_value = $value; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getKey() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getValue() |
||
| 37 | } |
||
| 38 |