Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,14 @@ the extension. You might want to change this to a more professional URL::
}
}

.. deprecated:: 7.4

The ``getNamespace()`` method, together with XML support, is deprecated
since Symfony 7.4 and will be removed in Symfony 8.0.

If your bundle needs to remain compatible with older Symfony versions that
still support XML, keep this method and add the ``@deprecated`` annotation to it.

Providing an XML Schema
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -510,6 +518,14 @@ can place it anywhere you like. You should return this path as the base path::
}
}

.. deprecated:: 7.4

The ``getXsdValidationBasePath()`` method, together with XML support, is
deprecated since Symfony 7.4 and will be removed in Symfony 8.0.

If your bundle needs to remain compatible with older Symfony versions that
still support XML, keep this method and add the ``@deprecated`` annotation to it.

Assuming the XSD file is called ``hello-1.0.xsd``, the schema location will be
``https://acme_company.com/schema/dic/hello/hello-1.0.xsd``:

Expand Down