[MODULES] Rename extensions to modules, add example plugin, change plugin location

This commit is contained in:
Hugo Sales
2020-03-28 14:39:48 +00:00
committed by Hugo Sales
parent 596009c924
commit 0c79dfc67b
8 changed files with 47 additions and 21 deletions

11
plugins/Test/Test.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace Plugin\Test;
class Test
{
public function onTest(string $foo)
{
dump('Event handled: ' . $foo);
}
}