1 | <?php |
||
19 | class FilterActionHandlerEvent extends Event |
||
20 | { |
||
21 | /** |
||
22 | * @var SpikeInterface |
||
23 | */ |
||
24 | protected $message; |
||
25 | |||
26 | /** |
||
27 | * @var ConnectionInterface |
||
28 | */ |
||
29 | protected $connection; |
||
30 | |||
31 | /** |
||
32 | * @var ActionHandlerInterface |
||
33 | */ |
||
34 | protected $actionHandler; |
||
35 | |||
36 | public function __construct($subject, SpikeInterface $message, ConnectionInterface $connection) |
||
42 | |||
43 | /** |
||
44 | * @return SpikeInterface |
||
45 | */ |
||
46 | public function getMessage() |
||
50 | |||
51 | /** |
||
52 | * @return ConnectionInterface |
||
53 | */ |
||
54 | public function getConnection() |
||
58 | |||
59 | /** |
||
60 | * @param ActionHandlerInterface $actionHandler |
||
61 | */ |
||
62 | public function setActionHandler($actionHandler) |
||
66 | |||
67 | /** |
||
68 | * @return ActionHandlerInterface |
||
69 | */ |
||
70 | public function getActionHandler() |
||
74 | } |