| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class SitemapController extends AbstractController |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @Route("/sitemap.xml", name="sitemap", defaults={"_format"="xml"}) |
||
| 17 | */ |
||
| 18 | public function siteMap(): Response |
||
| 19 | { |
||
| 20 | return $this->render('sitemap/sitemap.xml.twig', []); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @Route("/sitemap/cities.xml", name="cities_sitemap", defaults={"_format"="xml"}) |
||
| 25 | */ |
||
| 26 | public function cities(CityRepository $cityRepository): Response |
||
| 32 | ]); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @Route("/sitemap/properties.xml", name="properties_sitemap", defaults={"_format"="xml"}) |
||
| 37 | */ |
||
| 38 | public function properties(PropertyRepository $propertyRepository): Response |
||
| 47 |