From 24a15f96d319e618318512a5aff7259c50edcb31 Mon Sep 17 00:00:00 2001 From: doctrine <> Date: Tue, 15 Oct 2024 22:32:47 +0000 Subject: [PATCH] New version of Doctrine website --- atom.xml | 2 +- contribute/index.html | 2 - contribute/maintainer/index.html | 2 - contribute/website/index.html | 2 - index.html | 2 +- policies.html | 2 - policies/deprecation.html | 2 - policies/releases.html | 2 - policies/security.html | 2 - projects/annotations.html | 6 +- projects/cache.html | 8 +- projects/coding-standard.html | 6 +- projects/collections.html | 6 +- projects/common.html | 6 +- projects/couchdb-client.html | 6 +- projects/data-fixtures.html | 6 +- projects/dbal.html | 10 +- projects/doctrine-bundle.html | 12 +- projects/doctrine-cache-bundle.html | 6 +- projects/doctrine-laminas-hydrator.html | 6 +- projects/doctrine-migrations-bundle.html | 6 +- projects/doctrine-module.html | 6 +- projects/doctrine-mongo-odm-module.html | 6 +- projects/doctrine-mongodb-bundle.html | 6 +- projects/doctrine-orm-module.html | 6 +- .../doctrine-persistence/en/1.0/index.html | 7 + .../en/1.0/reference/index.html | 7 + .../doctrine-persistence/en/1.1/index.html | 7 + .../en/1.1/reference/index.html | 7 + .../1.1/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/1.2/index.html | 7 + .../en/1.2/reference/index.html | 7 + .../1.2/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/1.3/index.html | 7 + .../en/1.3/reference/index.html | 7 + .../1.3/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/1.4/index.html | 7 + .../en/1.4/reference/index.html | 7 + .../1.4/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.0/index.html | 7 + .../en/2.0/reference/index.html | 7 + .../2.0/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.1/index.html | 7 + .../en/2.1/reference/index.html | 7 + .../2.1/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.2/index.html | 7 + .../en/2.2/reference/index.html | 7 + .../2.2/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.3/index.html | 7 + .../en/2.3/reference/index.html | 7 + .../2.3/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.4/index.html | 7 + .../en/2.4/reference/index.html | 7 + .../2.4/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/2.5/index.html | 7 + .../en/2.5/reference/index.html | 7 + .../2.5/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/3.0/index.html | 7 + .../en/3.0/reference/index.html | 7 + .../3.0/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/3.1/index.html | 7 + .../en/3.1/reference/index.html | 7 + .../3.1/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/3.2/index.html | 7 + .../en/3.2/reference/index.html | 7 + .../3.2/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/3.3/index.html | 7 + .../en/3.3/reference/index.html | 7 + .../3.3/reference/object-change-tracking.html | 7 + .../doctrine-persistence/en/3.4/index.html | 497 ++++++++ .../en/3.4/reference/index.html | 1054 +++++++++++++++++ .../3.4/reference/object-change-tracking.html | 599 ++++++++++ .../doctrine-persistence/en/latest/index.html | 13 +- .../en/latest/reference/index.html | 13 +- .../reference/object-change-tracking.html | 13 +- projects/doctrine1.html | 2 +- projects/event-manager.html | 12 +- projects/inflector.html | 6 +- projects/instantiator.html | 12 +- projects/lexer.html | 10 +- projects/migrations.html | 6 +- projects/mongodb-odm.html | 6 +- projects/orm.html | 8 +- projects/persistence.html | 19 +- projects/persistence/3.4.html | 326 +++++ projects/persistence/latest.html | 10 +- projects/phpcr-bundle.html | 6 +- projects/phpcr-odm.html | 6 +- projects/reflection.html | 6 +- projects/rst-parser.html | 6 +- rst-examples.html | 2 - sitemap.xml | 754 ++++++------ sponsorship.html | 4 +- 93 files changed, 3311 insertions(+), 513 deletions(-) create mode 100644 projects/doctrine-persistence/en/3.4/index.html create mode 100644 projects/doctrine-persistence/en/3.4/reference/index.html create mode 100644 projects/doctrine-persistence/en/3.4/reference/object-change-tracking.html create mode 100644 projects/persistence/3.4.html diff --git a/atom.xml b/atom.xml index 798da43b5a2..f4a65103940 100644 --- a/atom.xml +++ b/atom.xml @@ -3,7 +3,7 @@ <![CDATA[Doctrine]]> - 2024-10-14T21:20:58-04:00 + 2024-10-15T18:24:31-04:00 https://www.doctrine-project.org/ diff --git a/contribute/index.html b/contribute/index.html index e46da986027..bfbd2b0bf2c 100644 --- a/contribute/index.html +++ b/contribute/index.html @@ -179,7 +179,6 @@
- -
diff --git a/contribute/maintainer/index.html b/contribute/maintainer/index.html index 2d2ddfa5cbd..c5365768f89 100644 --- a/contribute/maintainer/index.html +++ b/contribute/maintainer/index.html @@ -179,7 +179,6 @@
- -
diff --git a/contribute/website/index.html b/contribute/website/index.html index 416032d1689..cc3eb7450d9 100644 --- a/contribute/website/index.html +++ b/contribute/website/index.html @@ -179,7 +179,6 @@
- -
diff --git a/index.html b/index.html index 49831d78b30..9cafffda4cc 100644 --- a/index.html +++ b/index.html @@ -220,7 +220,7 @@

Doctrine

-

Doctrine has been downloaded a total of 5,615,187,461 times!

+

Doctrine has been downloaded a total of 5,618,349,949 times!

diff --git a/policies.html b/policies.html index 2d79779ac78..df1878d9bf5 100644 --- a/policies.html +++ b/policies.html @@ -179,7 +179,6 @@
- -
diff --git a/policies/deprecation.html b/policies/deprecation.html index d6a7a71669d..e1ab3ddb361 100644 --- a/policies/deprecation.html +++ b/policies/deprecation.html @@ -179,7 +179,6 @@
- -
diff --git a/policies/releases.html b/policies/releases.html index f27d01f6134..523458b08e6 100644 --- a/policies/releases.html +++ b/policies/releases.html @@ -179,7 +179,6 @@
- -
diff --git a/policies/security.html b/policies/security.html index a4c819a3e35..9370275ba11 100644 --- a/policies/security.html +++ b/policies/security.html @@ -179,7 +179,6 @@
- -
diff --git a/projects/annotations.html b/projects/annotations.html index aa45c91eff2..e528bfdecde 100644 --- a/projects/annotations.html +++ b/projects/annotations.html @@ -445,15 +445,15 @@

Statistics

Total Downloads - 446,260,732 + 446,341,484 Monthly Downloads - 6,435,129 + 6,452,438 Daily Downloads - 280,988 + 256,785 diff --git a/projects/cache.html b/projects/cache.html index cd8510185e2..9516f97d0a7 100644 --- a/projects/cache.html +++ b/projects/cache.html @@ -446,7 +446,7 @@

Statistics

Dependents - 1,173 + 1,172 Suggesters @@ -454,15 +454,15 @@

Statistics

Total Downloads - 486,124,411 + 486,429,664 Monthly Downloads - 7,538,114 + 7,761,404 Daily Downloads - 357,874 + 385,823 diff --git a/projects/coding-standard.html b/projects/coding-standard.html index f393aee66c0..96cc955a056 100644 --- a/projects/coding-standard.html +++ b/projects/coding-standard.html @@ -436,15 +436,15 @@

Statistics

Total Downloads - 8,619,042 + 8,626,193 Monthly Downloads - 245,662 + 250,067 Daily Downloads - 10,733 + 7,941 diff --git a/projects/collections.html b/projects/collections.html index ebd8aee2481..20fac5bc2c4 100644 --- a/projects/collections.html +++ b/projects/collections.html @@ -413,15 +413,15 @@

Statistics

Total Downloads - 322,511,896 + 322,572,267 Monthly Downloads - 4,764,591 + 4,779,098 Daily Downloads - 214,780 + 192,837 diff --git a/projects/common.html b/projects/common.html index 68e3cfbcf4b..053dae6b453 100644 --- a/projects/common.html +++ b/projects/common.html @@ -465,15 +465,15 @@

Statistics

Total Downloads - 295,420,244 + 295,503,855 Monthly Downloads - 4,030,468 + 4,076,671 Daily Downloads - 191,998 + 180,255 diff --git a/projects/couchdb-client.html b/projects/couchdb-client.html index cf09b1a626a..0f5bcb0b654 100644 --- a/projects/couchdb-client.html +++ b/projects/couchdb-client.html @@ -306,15 +306,15 @@

Statistics

Total Downloads - 759,559 + 759,658 Monthly Downloads - 3,637 + 3,736 Daily Downloads - 99 + 119 diff --git a/projects/data-fixtures.html b/projects/data-fixtures.html index 40ee5a05ce8..525abd8014a 100644 --- a/projects/data-fixtures.html +++ b/projects/data-fixtures.html @@ -359,15 +359,15 @@

Statistics

Total Downloads - 102,888,140 + 102,932,323 Monthly Downloads - 1,682,660 + 1,726,843 Daily Downloads - 78,177 + 82,120 diff --git a/projects/dbal.html b/projects/dbal.html index 46b63d5543e..48b9fe7f0c9 100644 --- a/projects/dbal.html +++ b/projects/dbal.html @@ -418,11 +418,11 @@

Statistics

GitHub Open Issues - 234 + 238 Dependents - 5,626 + 5,628 Suggesters @@ -430,15 +430,15 @@

Statistics

Total Downloads - 442,557,079 + 442,901,907 Monthly Downloads - 7,614,207 + 7,872,102 Daily Downloads - 194,766 + 337,794 diff --git a/projects/doctrine-bundle.html b/projects/doctrine-bundle.html index f267b3b3e03..3f39397c1c0 100644 --- a/projects/doctrine-bundle.html +++ b/projects/doctrine-bundle.html @@ -524,7 +524,7 @@

Statistics

GitHub Stars - 4,703 + 4,709 GitHub Watchers @@ -532,11 +532,11 @@

Statistics

GitHub Forks - 450 + 452 GitHub Open Issues - 13 + 16 Dependents @@ -548,15 +548,15 @@

Statistics

Total Downloads - 184,095,617 + 184,194,114 Monthly Downloads - 2,955,405 + 3,025,768 Daily Downloads - 77,529 + 126,526 diff --git a/projects/doctrine-cache-bundle.html b/projects/doctrine-cache-bundle.html index f1123e80a6e..af58d5538a9 100644 --- a/projects/doctrine-cache-bundle.html +++ b/projects/doctrine-cache-bundle.html @@ -308,15 +308,15 @@

Statistics

Total Downloads - 79,838,265 + 79,847,424 Monthly Downloads - 235,577 + 244,736 Daily Downloads - 10,685 + 11,946 diff --git a/projects/doctrine-laminas-hydrator.html b/projects/doctrine-laminas-hydrator.html index 18c4af4b57f..8d58a4a1ffd 100644 --- a/projects/doctrine-laminas-hydrator.html +++ b/projects/doctrine-laminas-hydrator.html @@ -362,15 +362,15 @@

Statistics

Total Downloads - 1,627,906 + 1,630,232 Monthly Downloads - 50,977 + 53,303 Daily Downloads - 2,537 + 2,857 diff --git a/projects/doctrine-migrations-bundle.html b/projects/doctrine-migrations-bundle.html index 1c4d14f8329..9bf2686362d 100644 --- a/projects/doctrine-migrations-bundle.html +++ b/projects/doctrine-migrations-bundle.html @@ -396,15 +396,15 @@

Statistics

Total Downloads - 131,974,236 + 132,103,817 Monthly Downloads - 2,338,864 + 2,448,664 Daily Downloads - 55,984 + 112,950 diff --git a/projects/doctrine-module.html b/projects/doctrine-module.html index 3fd858f7615..7c18bbc0565 100644 --- a/projects/doctrine-module.html +++ b/projects/doctrine-module.html @@ -456,15 +456,15 @@

Statistics

Total Downloads - 6,709,659 + 6,712,401 Monthly Downloads - 64,811 + 67,553 Daily Downloads - 3,058 + 3,352 diff --git a/projects/doctrine-mongo-odm-module.html b/projects/doctrine-mongo-odm-module.html index 912d6b864ea..cf3d125bf6e 100644 --- a/projects/doctrine-mongo-odm-module.html +++ b/projects/doctrine-mongo-odm-module.html @@ -405,15 +405,15 @@

Statistics

Total Downloads - 601,080 + 601,328 Monthly Downloads - 4,739 + 4,987 Daily Downloads - 446 + 285 diff --git a/projects/doctrine-mongodb-bundle.html b/projects/doctrine-mongodb-bundle.html index a873f535eea..7c62cae200b 100644 --- a/projects/doctrine-mongodb-bundle.html +++ b/projects/doctrine-mongodb-bundle.html @@ -467,15 +467,15 @@

Statistics

Total Downloads - 13,901,923 + 13,907,481 Monthly Downloads - 251,352 + 254,424 Daily Downloads - 10,993 + 11,455 diff --git a/projects/doctrine-orm-module.html b/projects/doctrine-orm-module.html index 7ef9b551d19..a7f64ca1424 100644 --- a/projects/doctrine-orm-module.html +++ b/projects/doctrine-orm-module.html @@ -439,15 +439,15 @@

Statistics

Total Downloads - 6,204,020 + 6,207,060 Monthly Downloads - 60,223 + 62,945 Daily Downloads - 2,857 + 3,183 diff --git a/projects/doctrine-persistence/en/1.0/index.html b/projects/doctrine-persistence/en/1.0/index.html index 96f13c02296..bdb656d8bd3 100644 --- a/projects/doctrine-persistence/en/1.0/index.html +++ b/projects/doctrine-persistence/en/1.0/index.html @@ -308,6 +308,13 @@
+ 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.0/reference/index.html b/projects/doctrine-persistence/en/1.0/reference/index.html index c5082436cee..f399d4dde09 100644 --- a/projects/doctrine-persistence/en/1.0/reference/index.html +++ b/projects/doctrine-persistence/en/1.0/reference/index.html @@ -308,6 +308,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.1/index.html b/projects/doctrine-persistence/en/1.1/index.html index d1347862964..b979bea9b29 100644 --- a/projects/doctrine-persistence/en/1.1/index.html +++ b/projects/doctrine-persistence/en/1.1/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.1/reference/index.html b/projects/doctrine-persistence/en/1.1/reference/index.html index 4e7a84126f7..f5134549104 100644 --- a/projects/doctrine-persistence/en/1.1/reference/index.html +++ b/projects/doctrine-persistence/en/1.1/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.1/reference/object-change-tracking.html b/projects/doctrine-persistence/en/1.1/reference/object-change-tracking.html index fb763954bc5..e1e6665f5ca 100644 --- a/projects/doctrine-persistence/en/1.1/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/1.1/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.2/index.html b/projects/doctrine-persistence/en/1.2/index.html index f476230550e..f63afa21d00 100644 --- a/projects/doctrine-persistence/en/1.2/index.html +++ b/projects/doctrine-persistence/en/1.2/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.2/reference/index.html b/projects/doctrine-persistence/en/1.2/reference/index.html index 72268cbbe17..a5df540da1e 100644 --- a/projects/doctrine-persistence/en/1.2/reference/index.html +++ b/projects/doctrine-persistence/en/1.2/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.2/reference/object-change-tracking.html b/projects/doctrine-persistence/en/1.2/reference/object-change-tracking.html index 4092b5887fd..5bfae052f4e 100644 --- a/projects/doctrine-persistence/en/1.2/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/1.2/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.3/index.html b/projects/doctrine-persistence/en/1.3/index.html index c0f7fac1e37..627edcfa49e 100644 --- a/projects/doctrine-persistence/en/1.3/index.html +++ b/projects/doctrine-persistence/en/1.3/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.3/reference/index.html b/projects/doctrine-persistence/en/1.3/reference/index.html index b7bf75fb541..fd6163c5255 100644 --- a/projects/doctrine-persistence/en/1.3/reference/index.html +++ b/projects/doctrine-persistence/en/1.3/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.3/reference/object-change-tracking.html b/projects/doctrine-persistence/en/1.3/reference/object-change-tracking.html index 00d397e32ea..ad9a0be1d2f 100644 --- a/projects/doctrine-persistence/en/1.3/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/1.3/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.4/index.html b/projects/doctrine-persistence/en/1.4/index.html index b54308bf2f1..1836fd38d7b 100644 --- a/projects/doctrine-persistence/en/1.4/index.html +++ b/projects/doctrine-persistence/en/1.4/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.4/reference/index.html b/projects/doctrine-persistence/en/1.4/reference/index.html index 35e36167248..a152e98529f 100644 --- a/projects/doctrine-persistence/en/1.4/reference/index.html +++ b/projects/doctrine-persistence/en/1.4/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/1.4/reference/object-change-tracking.html b/projects/doctrine-persistence/en/1.4/reference/object-change-tracking.html index 186d443a02e..fab1d53b69a 100644 --- a/projects/doctrine-persistence/en/1.4/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/1.4/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.0/index.html b/projects/doctrine-persistence/en/2.0/index.html index 44a2477e8ad..9a386f6f6b5 100644 --- a/projects/doctrine-persistence/en/2.0/index.html +++ b/projects/doctrine-persistence/en/2.0/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.0/reference/index.html b/projects/doctrine-persistence/en/2.0/reference/index.html index 604a88d8153..0c75a5c12b3 100644 --- a/projects/doctrine-persistence/en/2.0/reference/index.html +++ b/projects/doctrine-persistence/en/2.0/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.0/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.0/reference/object-change-tracking.html index 6afd87ab442..9ca0c42e7f3 100644 --- a/projects/doctrine-persistence/en/2.0/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.0/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.1/index.html b/projects/doctrine-persistence/en/2.1/index.html index c8f2ce4d362..a569f27a1f5 100644 --- a/projects/doctrine-persistence/en/2.1/index.html +++ b/projects/doctrine-persistence/en/2.1/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.1/reference/index.html b/projects/doctrine-persistence/en/2.1/reference/index.html index 55c17822a82..83fead86c4a 100644 --- a/projects/doctrine-persistence/en/2.1/reference/index.html +++ b/projects/doctrine-persistence/en/2.1/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.1/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.1/reference/object-change-tracking.html index bdd9bd0cd03..9b1d5891adf 100644 --- a/projects/doctrine-persistence/en/2.1/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.1/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.2/index.html b/projects/doctrine-persistence/en/2.2/index.html index 0db51ea77f8..37592e1515e 100644 --- a/projects/doctrine-persistence/en/2.2/index.html +++ b/projects/doctrine-persistence/en/2.2/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.2/reference/index.html b/projects/doctrine-persistence/en/2.2/reference/index.html index 075d736b4f4..9d67454fd23 100644 --- a/projects/doctrine-persistence/en/2.2/reference/index.html +++ b/projects/doctrine-persistence/en/2.2/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.2/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.2/reference/object-change-tracking.html index 53f41bcfd41..9178df2cdae 100644 --- a/projects/doctrine-persistence/en/2.2/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.2/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.3/index.html b/projects/doctrine-persistence/en/2.3/index.html index 73ebe52c30e..9b877807705 100644 --- a/projects/doctrine-persistence/en/2.3/index.html +++ b/projects/doctrine-persistence/en/2.3/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.3/reference/index.html b/projects/doctrine-persistence/en/2.3/reference/index.html index 7346316b1da..3861f657f02 100644 --- a/projects/doctrine-persistence/en/2.3/reference/index.html +++ b/projects/doctrine-persistence/en/2.3/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.3/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.3/reference/object-change-tracking.html index 42fc41445e4..26828ccb2b6 100644 --- a/projects/doctrine-persistence/en/2.3/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.3/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.4/index.html b/projects/doctrine-persistence/en/2.4/index.html index 03543b148dc..d843284464d 100644 --- a/projects/doctrine-persistence/en/2.4/index.html +++ b/projects/doctrine-persistence/en/2.4/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.4/reference/index.html b/projects/doctrine-persistence/en/2.4/reference/index.html index b318d267613..1c06724d022 100644 --- a/projects/doctrine-persistence/en/2.4/reference/index.html +++ b/projects/doctrine-persistence/en/2.4/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.4/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.4/reference/object-change-tracking.html index b121a260fe2..c234389063c 100644 --- a/projects/doctrine-persistence/en/2.4/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.4/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.5/index.html b/projects/doctrine-persistence/en/2.5/index.html index 5a552223bbf..a5c4cee53e4 100644 --- a/projects/doctrine-persistence/en/2.5/index.html +++ b/projects/doctrine-persistence/en/2.5/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.5/reference/index.html b/projects/doctrine-persistence/en/2.5/reference/index.html index 27a93c10e49..3e6c38c444c 100644 --- a/projects/doctrine-persistence/en/2.5/reference/index.html +++ b/projects/doctrine-persistence/en/2.5/reference/index.html @@ -319,6 +319,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/2.5/reference/object-change-tracking.html b/projects/doctrine-persistence/en/2.5/reference/object-change-tracking.html index f43a2dfcf73..c358e7a79ea 100644 --- a/projects/doctrine-persistence/en/2.5/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/2.5/reference/object-change-tracking.html @@ -325,6 +325,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.0/index.html b/projects/doctrine-persistence/en/3.0/index.html index 6dad8d49dd5..6ba4f290c6e 100644 --- a/projects/doctrine-persistence/en/3.0/index.html +++ b/projects/doctrine-persistence/en/3.0/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.0/reference/index.html b/projects/doctrine-persistence/en/3.0/reference/index.html index 8bc2ffd9c44..e5d2e8dd034 100644 --- a/projects/doctrine-persistence/en/3.0/reference/index.html +++ b/projects/doctrine-persistence/en/3.0/reference/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.0/reference/object-change-tracking.html b/projects/doctrine-persistence/en/3.0/reference/object-change-tracking.html index 0c75abbb7c1..538dd052879 100644 --- a/projects/doctrine-persistence/en/3.0/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/3.0/reference/object-change-tracking.html @@ -320,6 +320,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.1/index.html b/projects/doctrine-persistence/en/3.1/index.html index 9cfb90fbee5..01fe3fabffb 100644 --- a/projects/doctrine-persistence/en/3.1/index.html +++ b/projects/doctrine-persistence/en/3.1/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.1/reference/index.html b/projects/doctrine-persistence/en/3.1/reference/index.html index c3aaf6f2184..4f670d74bca 100644 --- a/projects/doctrine-persistence/en/3.1/reference/index.html +++ b/projects/doctrine-persistence/en/3.1/reference/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.1/reference/object-change-tracking.html b/projects/doctrine-persistence/en/3.1/reference/object-change-tracking.html index 232dea1dd8d..d10b7af2662 100644 --- a/projects/doctrine-persistence/en/3.1/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/3.1/reference/object-change-tracking.html @@ -320,6 +320,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.2/index.html b/projects/doctrine-persistence/en/3.2/index.html index 8ee0fbe91f0..a722347892b 100644 --- a/projects/doctrine-persistence/en/3.2/index.html +++ b/projects/doctrine-persistence/en/3.2/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.2/reference/index.html b/projects/doctrine-persistence/en/3.2/reference/index.html index dcc53ec5a56..eb635e7510d 100644 --- a/projects/doctrine-persistence/en/3.2/reference/index.html +++ b/projects/doctrine-persistence/en/3.2/reference/index.html @@ -314,6 +314,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.2/reference/object-change-tracking.html b/projects/doctrine-persistence/en/3.2/reference/object-change-tracking.html index c6fe82ea684..a769341ec8e 100644 --- a/projects/doctrine-persistence/en/3.2/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/3.2/reference/object-change-tracking.html @@ -320,6 +320,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.3/index.html b/projects/doctrine-persistence/en/3.3/index.html index 04b9e43bc62..a0731a91825 100644 --- a/projects/doctrine-persistence/en/3.3/index.html +++ b/projects/doctrine-persistence/en/3.3/index.html @@ -304,6 +304,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.3/reference/index.html b/projects/doctrine-persistence/en/3.3/reference/index.html index 5987190ed00..294e73b68b8 100644 --- a/projects/doctrine-persistence/en/3.3/reference/index.html +++ b/projects/doctrine-persistence/en/3.3/reference/index.html @@ -304,6 +304,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.3/reference/object-change-tracking.html b/projects/doctrine-persistence/en/3.3/reference/object-change-tracking.html index b723b239187..73674d09d07 100644 --- a/projects/doctrine-persistence/en/3.3/reference/object-change-tracking.html +++ b/projects/doctrine-persistence/en/3.3/reference/object-change-tracking.html @@ -310,6 +310,13 @@ + 4.0 + + + (upcoming) + + + 3.4 diff --git a/projects/doctrine-persistence/en/3.4/index.html b/projects/doctrine-persistence/en/3.4/index.html new file mode 100644 index 00000000000..fbff70bb66e --- /dev/null +++ b/projects/doctrine-persistence/en/3.4/index.html @@ -0,0 +1,497 @@ + + + + Persistence Documentation - Doctrine Persistence + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+
+ + +
+
+ + + + +
+ + +
+ + + + + +
+ +

You are browsing a version that has not yet been released.

+
+ +
+
+ + + + + + + +
+

+ + Persistence Documentation + + +

+ +

The Doctrine Persistence documentation is a reference guide to everything you need +to know about the project.

+ +
+

+ + Getting Help + + +

+ +

If this documentation is not helping to answer questions you have about the +Doctrine Persistence project, don't panic. You can get help from different sources:

+ + + + + +
+
+

+ + Getting Started + + +

+ +

The best way to get started is with the Introduction section +in the documentation. Use the sidebar to browse other documentation for the Doctrine Persistence project.

+ +
+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + diff --git a/projects/doctrine-persistence/en/3.4/reference/index.html b/projects/doctrine-persistence/en/3.4/reference/index.html new file mode 100644 index 00000000000..ac959ea8e02 --- /dev/null +++ b/projects/doctrine-persistence/en/3.4/reference/index.html @@ -0,0 +1,1054 @@ + + + + Introduction - Doctrine Persistence + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+
+ + +
+
+ + + + +
+ + +
+ + + + + +
+ +

You are browsing a version that has not yet been released.

+
+ +
+
+ + + + + + + +
+

+ + Introduction + + +

+ +

The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine +object mappers share. You can use these interfaces and abstract classes to build your own mapper if you don't +want to use the full data mappers provided by Doctrine.

+ +
+
+

+ + Installation + + +

+ +

The library can easily be installed with composer.

+ +
$ composer require doctrine/persistence
+
+
+

+ + Overview + + +

+ +

The interfaces and functionality in this project evolved from building several different implementations of Doctrine +object mappers. The first implementation was the ORM then came the MongoDB ODM. A set of common interfaces were +extracted from both projects and released in the Doctrine Common project. Over the years, more common functionality +was extracted and eventually moved to this standalone project. +After that, that project was itself split into several projects +including this one.

+ + +

A Doctrine object mapper looks like this when implemented.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
1final class User +{ + /** @var string */ + private $username; + + public function __construct(string $username) + { + $this->username = $username; + } + + // ... +} + +$objectManager = new ObjectManager(); +$userRepository = $objectManager->getRepository(User::class); + +$newUser = new User('jwage'); + +$objectManager->persist($newUser); +$objectManager->flush(); + +$user = $objectManager->find(User::class, 1); + +$objectManager->remove($user); +$objectManager->flush(); + +$users = $userRepository->findAll();
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
+ +

To learn more about the full interfaces and functionality continue reading!

+ +
+
+

+ + Object Manager + + +

+ +

The main public interface that an end user will use is the Doctrine\Persistence\ObjectManager interface.

+ +
+ + + + + + + + + + + + + + + +
1namespace Doctrine\Persistence; + +interface ObjectManager +{ + public function find($className, $id); + public function persist($object); + public function remove($object); + public function clear(); + public function detach($object); + public function refresh($object); + public function flush(); + public function getRepository($className); + public function getClassMetadata($className); + public function getMetadataFactory(); + public function initializeObject($obj); + public function contains($object); +}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+
+
+

+ + ObjectRepository + + +

+ +

The object repository is used to retrieve instances of your mapped objects from the mapper.

+ +
+ + + + + + + + +
1namespace Doctrine\Persistence; + +interface ObjectRepository +{ + public function find($id); + public function findAll(); + public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null); + public function findOneBy(array $criteria); + public function getClassName(); +}
2
3
4
5
6
7
8
9
10
+
+
+

+ + Mapping + + +

+ +

In order for Doctrine to be able to persist your objects to a data store, you have to map the classes and class +properties so they can be properly stored and retrieved while maintaining a consistent state.

+ +
+

+ + ClassMetadata + + +

+
+ + + + + + + + + + + + + + + + + + + +
1namespace Doctrine\Persistence\Mapping; + +interface ClassMetadata +{ + public function getName(); + public function getIdentifier(); + public function getReflectionClass(); + public function isIdentifier($fieldName); + public function hasField($fieldName); + public function hasAssociation($fieldName); + public function isSingleValuedAssociation($fieldName); + public function isCollectionValuedAssociation($fieldName); + public function getFieldNames(); + public function getIdentifierFieldNames(); + public function getAssociationNames(); + public function getTypeOfField($fieldName); + public function getAssociationTargetClass($assocName); + public function isAssociationInverseSide($assocName); + public function getAssociationMappedByTargetField($assocName); + public function getIdentifierValues($object); +}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
+
+
+

+ + ClassMetadataFactory + + +

+ +

The Doctrine\Persistence\Mapping\ClassMetadataFactory class can be used to manage the instances for each of +your mapped PHP classes.

+ +
+ + + + + + + + +
1namespace Doctrine\Persistence\Mapping; + +interface ClassMetadataFactory +{ + public function getAllMetadata(); + public function getMetadataFor($className); + public function hasMetadataFor($className); + public function setMetadataFor($className, $class); + public function isTransient($className); +}
2
3
4
5
6
7
8
9
10
+
+
+
+

+ + Mapping Driver + + +

+ +

In order to load ClassMetadata instances you can use the Doctrine\Persistence\Mapping\Driver\MappingDriver +interface. This is the interface that does the core loading of mapping information from wherever they are stored. +That may be in files, attributes, yaml, xml, etc.

+ +
+ + + + + + + + +
1namespace Doctrine\Persistence\Mapping\Driver; + +use Doctrine\Persistence\Mapping\ClassMetadata; + +interface MappingDriver +{ + public function loadMetadataForClass($className, ClassMetadata $metadata); + public function getAllClassNames(); + public function isTransient($className); +}
2
3
4
5
6
7
8
9
10
+ +

The Doctrine Persistence project offers a few base implementations that +make it easy to implement your own XML, Attributes or YAML drivers.

+ +
+

+ + FileDriver + + +

+ +

The file driver operates in a mode where it loads the mapping files of individual classes on demand. This requires +the user to adhere to the convention of 1 mapping file per class and the file names of the mapping files must +correspond to the full class name, including namespace, with the namespace delimiters '', replaced by dots '.'.

+ + +

Extend the Doctrine\Persistence\Mapping\Driver\FileDriver class to implement your own file driver. +Here is an example JSON file driver implementation.

+ +
+ + + + + + + + + + + + + + +
1use Doctrine\Persistence\Mapping\Driver\FileDriver; + +final class JSONFileDriver extends FileDriver +{ + public function loadMetadataForClass($className, ClassMetadata $metadata) + { + $mappingFileData = $this->getElement($className); + + // use the array of mapping information from the file to populate the $metadata instance + } + + protected function loadMappingFile($file) + { + return json_decode($file, true); + } +}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
+ +

Now you can use it like the following.

+ +
+ + + +
1use Doctrine\Persistence\Mapping\Driver\DefaultFileLocator; + +$fileLocator = new DefaultFileLocator('/path/to/mapping/files', 'json'); + +$jsonFileDriver = new JSONFileDriver($fileLocator);
2
3
4
5
+ +

Now if you have a class named App\Model\User and you can load the mapping information like this.

+ +
+ + + + + +
1use App\Model\User; +use Doctrine\Persistence\Mapping\ClassMetadata; + +$classMetadata = new ClassMetadata(); + +// looks for a file at /path/to/mapping/files/App.Model.User.json +$jsonFileDriver->loadMetadataForClass(User::class, $classMetadata);
2
3
4
5
6
7
+
+
+

+ + PHPDriver + + +

+ +

The PHPDriver includes PHP files which just populate ClassMetadata instances with plain PHP code.

+ +
+ +
1use Doctrine\Persistence\Mapping\Driver\PHPDriver; + +$phpDriver = new PHPDriver('/path/to/mapping/files');
2
3
+ +

Now you can use it like the following:

+ +
+ + + + + +
1use App\Model\User; +use Doctrine\Persistence\Mapping\ClassMetadata; + +$classMetadata = new ClassMetadata(); + +// looks for a PHP file at /path/to/mapping/files/App.Model.User.php +$phpDriver->loadMetadataForClass(User::class, $classMetadata);
2
3
4
5
6
7
+ +

Inside the /path/to/mapping/files/App.Model.User.php file you can write raw PHP code to populate a ClassMetadata +instance. You will have access to a variable named $metadata inside the file that you can use to populate the +mapping metadata.

+ +
+ + + +
1use App\Model\User; + +$metadata->name = User::class; + +// ...
2
3
4
5
+
+
+

+ + StaticPHPDriver + + +

+ +

The StaticPHPDriver calls a static loadMetadata() method on your model classes where you can manually populate the +ClassMetadata instance.

+ +
+ + + + +
1$staticPHPDriver = new StaticPHPDriver('/path/to/classes'); + +$classMetadata = new ClassMetadata(); + +// looks for a PHP file at /path/to/classes/App/Model/User.php +$phpDriver->loadMetadataForClass(User::class, $classMetadata);
2
3
4
5
6
+ +

Your class in App\Model\User would look like the following.

+ +
+ + + + + + + + + +
1namespace App\Model; + +final class User +{ + // ... + + public static function loadMetadata(ClassMetadata $metadata) + { + // populate the $metadata instance + } +}
2
3
4
5
6
7
8
9
10
11
+
+
+
+

+ + Reflection + + +

+ +

Doctrine uses reflection to set and get the data inside your objects. The +Doctrine\Persistence\Mapping\ReflectionService is the primary interface needed for a Doctrine mapper.

+ +
+ + + + + + + + + +
1namespace Doctrine\Persistence\Mapping; + +interface ReflectionService +{ + public function getParentClasses($class); + public function getClassShortName($class); + public function getClassNamespace($class); + public function getClass($class); + public function getAccessibleProperty($class, $property); + public function hasPublicMethod($class, $method); +}
2
3
4
5
6
7
8
9
10
11
+ +

Doctrine provides an implementation of this interface in the class named +Doctrine\Persistence\Mapping\RuntimeReflectionService.

+ +
+
+

+ + Implementations + + +

+ +

There are several different implementations of the Doctrine Persistence APIs.

+ + + +
    +
  • ORM - The Doctrine Object Relational Mapper is a data mapper for relational databases.
  • +
  • MongoDB ODM - The Doctrine MongoDB ODM is a data mapper for MongoDB.
  • +
  • PHPCR ODM - The Doctrine PHPCR ODM a data mapper built on top of the PHPCR API.
  • +
+ +
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + diff --git a/projects/doctrine-persistence/en/3.4/reference/object-change-tracking.html b/projects/doctrine-persistence/en/3.4/reference/object-change-tracking.html new file mode 100644 index 00000000000..bf09981c04a --- /dev/null +++ b/projects/doctrine-persistence/en/3.4/reference/object-change-tracking.html @@ -0,0 +1,599 @@ + + + + Object Change Tracking - Doctrine Persistence + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+
+ + +
+
+ + + + +
+ + +
+ + + + + +
+ +

You are browsing a version that has not yet been released.

+
+ +
+
+ + + + + + + +
+

+ + Object Change Tracking + + +

+ +

Change tracking is the process of determining what has changed in +observed objects since the last time they were synchronized with +the persistence backend.

+ + +

This approach is based on the observer pattern +and consists of the following two interfaces: + ``Doctrine\Persistence\NotifyPropertyChanged`` that is implemented by the object + whose changes can be tracked, + Doctrine\Persistence\PropertyChangedListener that is implemented by subscribers +which are interested in tracking the changes.

+ +
+

+ + Notifying subscribers + + +

+ +

A class that wants to allow other objects to subscribe needs to +implement the NotifyPropertyChanged interface. As a guideline, +such an implementation can look as follows:

+ +
+ + + + + + + + + + + + + + + +
1<?php + +use Doctrine\Persistence\NotifyPropertyChanged; +use Doctrine\Persistence\PropertyChangedListener; + +class MyTrackedObject implements NotifyPropertyChanged +{ + // ... + + /** @var PropertyChangedListener[] */ + private $listeners = []; + + public function addPropertyChangedListener(PropertyChangedListener $listener) : void + { + $this->listeners[] = $listener; + } +}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+ +

Then, in each mutator of this class or any derived classes, you +need to notify all the PropertyChangedListener instances. As an +example we add a convenience method on MyTrackedObject that shows +this behavior:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
1<?php + +// ... + +class MyTrackedObject implements NotifyPropertyChanged +{ + // ... + + final protected function notifySubscribers(string $propertyName, $oldValue, $newValue) : void + { + foreach ($this->listeners as $listener) { + $listener->propertyChanged($this, $propertyName, $oldValue, $newValue); + } + } + + public function setAge(int $age) : void + { + if ($this->age === $age) { + return; + } + + $this->notifySubscribers('age', $this->age, $age); + $this->age = $age; + } +}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
+ +

You have to invoke notifySubscribers() inside every method that +changes the persistent state of MyTrackedObject.

+ + +

The check whether the new value is different from the old one is +not mandatory but recommended. That way you also have full control +over when you consider a property changed.

+ +
+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + diff --git a/projects/doctrine-persistence/en/latest/index.html b/projects/doctrine-persistence/en/latest/index.html index afc56f29699..715127bfb8e 100644 --- a/projects/doctrine-persistence/en/latest/index.html +++ b/projects/doctrine-persistence/en/latest/index.html @@ -171,7 +171,7 @@
- Edit + Edit