I need to get there some more data and for some other pages I need also db inserts etc...
My standard code is:
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
public function index(Request $request, Response $response, $args)
//return "contr. return msg!";
return $this->view->render($response, 'home.twig');
I tried also with $this, but the same problem...