1 | <?php |
||
21 | final class ModifyEventQueryConstraintsEvent |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private $constraints; |
||
27 | |||
28 | /** |
||
29 | * @var QueryInterface |
||
30 | */ |
||
31 | private $query; |
||
32 | |||
33 | /** |
||
34 | * @var EventDemand |
||
35 | */ |
||
36 | private $eventDemand; |
||
37 | |||
38 | /** |
||
39 | * @var EventRepository |
||
40 | */ |
||
41 | private $eventRepository; |
||
42 | |||
43 | public function __construct( |
||
54 | |||
55 | /** |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getConstraints(): array |
||
62 | |||
63 | /** |
||
64 | * @return QueryInterface |
||
65 | */ |
||
66 | public function getQuery(): QueryInterface |
||
70 | |||
71 | /** |
||
72 | * @return EventDemand |
||
73 | */ |
||
74 | public function getEventDemand(): EventDemand |
||
78 | |||
79 | /** |
||
80 | * @return EventRepository |
||
81 | */ |
||
82 | public function getEventRepository(): EventRepository |
||
86 | |||
87 | /** |
||
88 | * @param array $constraints |
||
89 | */ |
||
90 | public function setConstraints(array $constraints): void |
||
94 | } |
||
95 |