Skip to content

Commit

Permalink
docs: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 13, 2023
1 parent 8e548b0 commit 9d5be64
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions user_guide_src/source/changelogs/v4.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ Message Changes
Changes
*******

- **Config:**
- ``Config\Feature::$multipleFilters`` has been removed, because now
:ref:`multiple-filters` are always enabled.
- **Filters:**
- The following deprecated items have been removed, because now
:ref:`multiple-filters` are always enabled.
- ``Filters::enableFilter()``
- ``RouteCollection::getFilterForRoute()``
- ``Router::$filterInfo``
- ``Router::getFilter()``


Deprecations
************

Expand Down
8 changes: 7 additions & 1 deletion user_guide_src/source/incoming/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,18 @@ You specify a filter classname for the filter value:

.. literalinclude:: routing/036.php

.. _multiple-filters:

Multiple Filters
----------------

.. versionadded:: 4.1.5

.. important:: *Multiple filters* is disabled by default. Because it breaks backward compatibility. If you want to use it, you need to configure. See :ref:`upgrade-415-multiple-filters-for-a-route` for the details.
.. important:: Since v4.5.0, *Multiple Filters* are always enabled.
Prior to v4.5.0, *Multiple Filters* were disabled by default.
If you want to use with prior to v4.5.0, See
:ref:`Upgrading from 4.1.4 to 4.1.5 <upgrade-415-multiple-filters-for-a-route>`
for the details.

You specify an array for the filter value:

Expand Down

0 comments on commit 9d5be64

Please sign in to comment.