Skip to content

Provide routing config in PHP format #498

@dmaicher

Description

@dmaicher

With Symfony 7.4 the XML format for routing is deprecated.

So we should provide an alternative to this file in php format:

<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="fos_js_routing_js" path="/js/routing.{_format}" methods="GET">
<default key="_controller">fos_js_routing.controller::indexAction</default>
<default key="_format">js</default>
<requirement key="_format">js|json</requirement>
</route>
</routes>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions