aswi2020sebela-gitlab/website/src/Controller/DefaultController.php @ 82a189fb
1 |
<?php
|
---|---|
2 |
|
3 |
namespace App\Controller; |
4 |
|
5 |
use Symfony\Component\HttpFoundation\Response; |
6 |
|
7 |
class DefaultController { |
8 |
public function index(): Response { |
9 |
$number = random_int(0, 100); |
10 |
|
11 |
return new Response( |
12 |
'<html><body>'.$number.'</body></html>' |
13 |
);
|
14 |
}
|
15 |
}
|