1 | <?php |
||
10 | class EventManagerVariant implements VariantInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var EventManagerInterface |
||
14 | */ |
||
15 | private $eventManager; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $idenfier; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $eventName; |
||
26 | |||
27 | /** |
||
28 | * @var callable |
||
29 | */ |
||
30 | private $callback; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | private $priority; |
||
36 | |||
37 | public function __construct(EventManagerInterface $eventManager, $identifier, $eventName, $callback, $priority) |
||
45 | |||
46 | public function getIdentifier() |
||
50 | |||
51 | public function run() |
||
55 | } |
||
56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.