Skip to content

Commit cf18d46

Browse files
committed
Merge branch '4.4'
* 4.4: Moved the Doctrine Extensions to the main Doctrine article
2 parents e52557f + c61768b commit cf18d46

File tree

3 files changed

+11
-33
lines changed

3 files changed

+11
-33
lines changed

_build/redirection_map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@
461461
/testing/doctrine /testing/database
462462
/doctrine/lifecycle_callbacks /doctrine/events
463463
/doctrine/event_listeners_subscribers /doctrine/events
464+
/doctrine/common_extensions /doctrine
464465
/best_practices/index /best_practices
465466
/best_practices/introduction /best_practices
466467
/best_practices/creating-the-project /best_practices

doctrine.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,14 +800,21 @@ Database Testing
800800

801801
Read the article about :doc:`testing code that interacts with the database </testing/database>`.
802802

803+
Doctrine Extensions (Timestampable, Translatable, etc.)
804+
-------------------------------------------------------
805+
806+
Doctrine community has created some extensions to implement common needs such as
807+
*"set the value of the createdAt property automatically when creating an entity"*.
808+
Read more about the `available Doctrine extensions`_ and use the
809+
`StofDoctrineExtensionsBundle`_ to integrate them in your application.
810+
803811
Learn more
804812
----------
805813

806814
.. toctree::
807815
:maxdepth: 1
808816

809817
doctrine/associations
810-
doctrine/common_extensions
811818
doctrine/events
812819
doctrine/registration_form
813820
doctrine/custom_dql_functions
@@ -835,3 +842,5 @@ Learn more
835842
.. _`Doctrine screencast series`: https://symfonycasts.com/screencast/symfony-doctrine
836843
.. _`API Platform`: https://api-platform.com/docs/core/validation/
837844
.. _`PDO`: https://php.net/pdo
845+
.. _`available Doctrine extensions`: https://github.com/Atlantic18/DoctrineExtensions
846+
.. _`StofDoctrineExtensionsBundle`: https://github.com/antishov/StofDoctrineExtensionsBundle

doctrine/common_extensions.rst

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)