mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
Update Plugin class documentation
This commit is contained in:
parent
a9380cf307
commit
5c7d525871
@ -48,6 +48,13 @@ abstract Class Plugin {
|
||||
|
||||
/**
|
||||
* Register listeners
|
||||
*
|
||||
* Event listener take one argument by reference. For example:
|
||||
* <code>
|
||||
* public function testListener(&$arguments) {
|
||||
* $arguments['result'] = 'Test string';
|
||||
* }
|
||||
* </code>
|
||||
*/
|
||||
abstract public function registerListeners();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user