1 | <?php |
||
16 | class Projector implements EventListenerInterface |
||
17 | { |
||
18 | use DelegateEventHandlingToSpecificMethodTrait; |
||
19 | |||
20 | /** |
||
21 | * @var RepositoryInterface |
||
22 | */ |
||
23 | private $repository; |
||
24 | |||
25 | /** |
||
26 | * @var SapiVersion |
||
27 | */ |
||
28 | private $sapiVersion; |
||
29 | |||
30 | /** |
||
31 | * @param RepositoryInterface $repository |
||
32 | * @param SapiVersion $sapiVersion |
||
33 | */ |
||
34 | public function __construct( |
||
41 | |||
42 | /** |
||
43 | * @param RoleCreated $roleCreated |
||
44 | * @param DomainMessage $domainMessage |
||
45 | */ |
||
46 | public function applyRoleCreated( |
||
55 | |||
56 | /** |
||
57 | * @param RoleRenamed $roleRenamed |
||
58 | * @param DomainMessage $domainMessage |
||
59 | */ |
||
60 | public function applyRoleRenamed( |
||
69 | |||
70 | /** |
||
71 | * @param RoleDeleted $roleDeleted |
||
72 | * @param DomainMessage $domainMessage |
||
73 | */ |
||
74 | public function applyRoleDeleted( |
||
80 | |||
81 | /** |
||
82 | * @param ConstraintAdded $constraintAdded |
||
83 | */ |
||
84 | protected function applyConstraintAdded(ConstraintAdded $constraintAdded) |
||
93 | |||
94 | /** |
||
95 | * @param ConstraintUpdated $constraintUpdated |
||
96 | */ |
||
97 | protected function applyConstraintUpdated(ConstraintUpdated $constraintUpdated) |
||
106 | |||
107 | /** |
||
108 | * @param ConstraintRemoved $constraintRemoved |
||
109 | */ |
||
110 | protected function applyConstraintRemoved(ConstraintRemoved $constraintRemoved) |
||
118 | } |
||
119 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.