1 | <?php |
||
19 | class AuthorizationManager extends RouterModuleClient implements RealmModuleInterface |
||
20 | { |
||
21 | /** |
||
22 | * Listen for Router events. |
||
23 | * Required to add the authorization module to the realm |
||
24 | * |
||
25 | * @return array |
||
26 | */ |
||
27 | public static function getSubscribedEvents() |
||
33 | |||
34 | /** |
||
35 | * @param NewRealmEvent $newRealmEvent |
||
36 | */ |
||
37 | public function handleNewRealm(NewRealmEvent $newRealmEvent) |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | public function getSubscribedRealmEvents() |
||
58 | |||
59 | /** |
||
60 | * @param MessageEvent $msg |
||
61 | */ |
||
62 | public function authorize(MessageEvent $msg) |
||
68 | } |
||
69 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.