Skip to content

Commit

Permalink
docs: add method signature change
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jun 28, 2023
1 parent eccbae4 commit 2868f5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user_guide_src/source/changelogs/v4.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Interface Changes

- **Validation:** Added the ``getValidated()`` method in ``ValidationInterface``.

.. _v440-method-signature-changes:

Method Signature Changes
========================

Expand All @@ -52,6 +54,8 @@ Method Signature Changes
- **Session:** The first parameter of ``__construct()`` in ``BaseHandler``,
``DatabaseHandler``, ``FileHandler``, ``MemcachedHandler``, and ``RedisHandler``
has been changed from ``Config\App`` to ``Config\Session``.
- **Security:** The first parameter of ``Security::__construct()`` has been
changed from ``Config\App`` to ``Config\Security``.

Enhancements
************
Expand Down
7 changes: 7 additions & 0 deletions user_guide_src/source/installation/upgrade_440.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ performance.
If you extend ``RouteCollection`` and use the ``$routes``, update your code to
match the new array structure.

Method Signature Changes
========================

Some method signature changes have been made. Classes that extend them should
update their APIs to reflect the changes. See :ref:`v440-method-signature-changes`
for details.

Mandatory File Changes
**********************

Expand Down

0 comments on commit 2868f5c

Please sign in to comment.