Using spaces in the names of routes in Symfony

  Kiến thức lập trình

is the following route name valid in Symfony?

#[Route('/{profileId}/bundles/{bundleId}', name: 'data export bundle details')]

In all the examples that I have seen, in the name the words are separated by underscores (it would be data_export_bundle_details for this example). Looking at the documentation it does not say anything about the allowed characters, it just says that route names need to be unique, so I am guessing that the above name is fine, but can someone confirm?

Thanks!

LEAVE A COMMENT