gnu-social/src/Controller/NetworkPublic.php

17 lines
332 B
PHP
Raw Normal View History

2020-03-12 17:59:13 +00:00
<?php
namespace App\Controller;
use App\Util\GSEvent as Event;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
2020-03-12 17:59:13 +00:00
class NetworkPublic extends AbstractController
{
public function __invoke()
{
Event::handle('Test', ['foobar']);
2020-03-12 17:59:13 +00:00
return $this->render('network/public.html.twig', []);
}
}