You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
288 B

  1. <?php
  2. use Symfony\Component\HttpFoundation\Request;
  3. use Symfony\Component\HttpFoundation\Response;
  4. class Main {
  5. public function index(Request $request, Response $response) {
  6. $response->setContent(view('index', [
  7. 'title' => 'Percolator'
  8. ]));
  9. return $response;
  10. }
  11. }