[CORE][EVENTS] Bring existing Events and Boostrapper back

- Adapt the existing event system to rely on Symfony's event dispatcher
This commit is contained in:
Hugo Sales
2020-03-11 20:29:08 +00:00
committed by Hugo Sales
parent c0e53ae658
commit cc47efe4b5
12 changed files with 507 additions and 273 deletions

View File

@@ -5,12 +5,13 @@ namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use App;
use App\Util\GSEvent;
class NetworkPublic extends AbstractController
{
public function __invoke()
{
GSEvent::handle('test', ['foobar']);
return $this->render('network/public.html.twig', []);
}
}