| 1 | <?php |
||
| 26 | class UserEventHandler implements EventListenerInterface |
||
| 27 | { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Returns a list of events this object is implementing. |
||
| 31 | * |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | public function implementedEvents() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * On add user after save (ADMIN). |
||
| 44 | * |
||
| 45 | * @param Event $event |
||
| 46 | */ |
||
| 47 | public function onAdminAddAfterSave(Event $event) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * On add user before save (ADMIN). |
||
| 53 | * |
||
| 54 | * @param Event $event |
||
| 55 | */ |
||
| 56 | public function onAdminAddBeforeSave(Event $event) |
||
| 59 | } |
||
| 60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.