Common files

This commit is contained in:
2020-12-15 17:45:27 -03:00
parent 736eb72254
commit 6c945e915f
5 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php
namespace ProVM\Common\Controller;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use ProVM\Common\Alias\View;
class Home {
public function __invoke(Request $request, Response $response, View $view) {
return $view->render($response, 'home');
}
}