[CORE][EXTENSIONS] Added extension (modules, plugins) loading and test plugin, which is able to handle events

This commit is contained in:
Hugo Sales
2020-03-20 22:10:01 +00:00
committed by Hugo Sales
parent cfc269aca4
commit 6df658a987
12 changed files with 274 additions and 42 deletions

View File

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