Routing is the process of mapping a URL to a controller. Symfony has a powerfull Routing component which allows you to define routes.
The Routing component supports a number of configuration formats: annotations, YAML, XML and raw PHP.
Parameter | Details |
---|---|
name | The name of the route. Example: book_show |
path | The path (may contain wildcards). Example: /book/{isbn} |
defaults | Default values of parameters |