1 | <?php |
||
29 | abstract class Plugin |
||
30 | { |
||
31 | /** |
||
32 | * Called immediately after a session starts. |
||
33 | * |
||
34 | * @param \Caridea\Session\Session $session The session that was started |
||
35 | */ |
||
36 | public function onStart(Session $session): void |
||
39 | |||
40 | /** |
||
41 | * Called immediately before a session ID is regenerated. |
||
42 | * |
||
43 | * @param \Caridea\Session\Session $session The session that was regenerated |
||
44 | */ |
||
45 | public function onRegenerate(Session $session): void |
||
48 | |||
49 | /** |
||
50 | * Called immediately before a session is destroyed. |
||
51 | * |
||
52 | * @param \Caridea\Session\Session $session The session that was destroyed |
||
53 | */ |
||
54 | public function onDestroy(Session $session): void |
||
57 | } |
||
58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.