Routing and controllers

← Routing and controllers

Ashterix

docs(articles): SEO titles, intros and a section preview image for From Magento to Symfony

en/articles/magento-to-symfony/core/routing.md +6 −0

1 + ---
2 + title: 'Symfony routing and controllers instead of routes.xml'
3 + ---
4 +
1 5 # Routing and controllers
6 +
7 + In Symfony a route is an `#[Route]` attribute right on the controller method, with no routes.xml and no class per action. Action arguments such as entities, DTOs and services are filled in automatically.
2 8
3 9 ::::columns
4 10 :::col