ResourceController can be used directly in Twig. Even though Sylius 2 introduces Twig Components, this knowledge is still valuable - depending on your needs, using a route and controller can sometimes be the better choice.© 2026 Sylius Academy. All rights reserved.