1 | <?php |
||
14 | class BlogController extends Controller |
||
15 | { |
||
16 | /** |
||
17 | * @Route("", name="blog_homepage") |
||
18 | * @return Response |
||
19 | */ |
||
20 | public function indexAction() |
||
29 | |||
30 | /** |
||
31 | * @Route("/{year}/{month}/{day}/{num}/{slug}", name="blog_show", requirements={ |
||
32 | * "year": "\d+", |
||
33 | * "month": "\d+", |
||
34 | * "day": "\d+", |
||
35 | * "num": "\d+" |
||
36 | * }) |
||
37 | * @param int $year |
||
38 | * @param int $month |
||
39 | * @param int $day |
||
40 | * @param int $num |
||
41 | * @param string $slug |
||
42 | * @return Response |
||
43 | */ |
||
44 | public function showAction($year, $month, $day, $num, $slug) |
||
67 | } |
||
68 |