08-01-2026
@Route
@Path
@Routing
@Action
requirements
$request->get('param_name')
$_GET
$_POST
$this->getParameter('param_name')
name
RouterInterface
POST
methods
@Method
@Post
request_method
defaults
'product_show'
123
{{ path('product_show', {'id': 123}) }}
{{ url('product_show', {'id': 123}) }}
{{ route('product_show', {'id': 123}) }}
{{ generate_url('product_show', {'id': 123}) }}
path()
url()