1 | <?php |
||
10 | class MultiEvent extends AbstractEvent |
||
11 | { |
||
12 | |||
13 | const INCREASE = 'stats.multi.increase'; |
||
14 | const SET = 'stats.multi.set'; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $values; |
||
20 | |||
21 | /** |
||
22 | * @param string $eventName self::* |
||
23 | * @param array $values |
||
24 | */ |
||
25 | public function __construct(string $eventName, array $values) |
||
26 | { |
||
27 | parent::__construct($eventName); |
||
28 | |||
29 | $this->values = $values; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return array |
||
34 | */ |
||
35 | public function getValues() : array |
||
39 | } |
||
40 |