forked from GNUsocial/gnu-social
[MODULES] Rename extensions to modules, add example plugin, change plugin location
This commit is contained in:
11
plugins/Test/Test.php
Normal file
11
plugins/Test/Test.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Plugin\Test;
|
||||
|
||||
class Test
|
||||
{
|
||||
public function onTest(string $foo)
|
||||
{
|
||||
dump('Event handled: ' . $foo);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user