gnu-social/plugins/Test/Controller/TestController.php
2021-04-14 15:37:21 +00:00

16 lines
364 B
PHP

<?php
namespace Plugin\Test\Controller;
use App\Core\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class TestController extends Controller
{
public function __invoke(Request $request)
{
return new Response('<html style="background: #333; color: #ccc"> Test controller </div>');
}
}