If I enter in an invalid routing configuration key in a Symfony route, I get a helpful exception message that lists all the valid Symfony routing configuration keys
The routing file "path/to/config/routes.yaml" contains unsupported keys for "route_name": "invalid_key_name". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller", "name_prefix", "trailing_slash_on_root"
Most of these keys are documented somewhere on the Symfony site. However, I have not been able to find documentation for the options
key.
Does anyone know what this should (or can) be used for?
options
is used to support UTF-8 characters in the route paths, see here. – Paweł Napierała