3 declare(strict_types
=1);
5 namespace Shaarli\DemoPlugin
;
7 use Shaarli\Front\Controller\Admin\ShaarliAdminController
;
9 use Slim\Http\Response
;
11 class DemoPluginController
extends ShaarliAdminController
13 public function index(Request
$request, Response
$response): Response
17 '<div class="center">' .
18 'This is a demo page. I have access to Shaarli container, so I\'m free to do whatever I want here.' .
22 return $response->write($this->render('pluginscontent'));