Skip to content

Commit

Permalink
Adapt flush($argument) in documentation as it's deprecated. (doctrine…
Browse files Browse the repository at this point in the history
  • Loading branch information
Warxcell authored May 29, 2021
1 parent f2c3dda commit 5fa9496
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ code should look like. We will implement it on a
`Layer Supertype <http://martinfowler.com/eaaCatalog/layerSupertype.html>`_
for all our domain objects.

.. warning::
.. note::

The notify change tracking policy is deprecated and will be removed in ORM 3.0.
(`Details <https://github.com/doctrine/orm/issues/8383>`_)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/change-tracking-policies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This policy can be configured as follows:
Notify
~~~~~~

.. warning::
.. note::

The notify change tracking policy is deprecated and will be removed in ORM 3.0.
(`Details <https://github.com/doctrine/orm/issues/8383>`_)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/partial-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Partial Objects
===============


.. warning::
.. note::

Creating Partial Objects through DQL is deprecated and
will be removed in the future, use data transfer object
Expand Down
4 changes: 4 additions & 0 deletions docs/en/reference/unitofwork.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ optimize the performance of the Flush Operation:
explicit strategies of notifying the UnitOfWork what objects/properties
changed.

.. note::

Flush only a single entity with ``$entityManager->flush($entity)`` is deprecated and will be removed in ORM 3.0.
(`Details <https://github.com/doctrine/orm/issues/8459>`_)

Query Internals
---------------
Expand Down

0 comments on commit 5fa9496

Please sign in to comment.