diff --git a/docs/en/reference/dql-doctrine-query-language.rst b/docs/en/reference/dql-doctrine-query-language.rst index 8a9229a0a..5ff0548a3 100644 --- a/docs/en/reference/dql-doctrine-query-language.rst +++ b/docs/en/reference/dql-doctrine-query-language.rst @@ -410,6 +410,8 @@ Get all users that have no phonenumber Get all instances of a specific type, for use with inheritance hierarchies: +.. versionadded:: 2.1 + .. code-block:: php setNamingStrategy($namingStrategy); \ No newline at end of file + $configuration()->setNamingStrategy($namingStrategy); diff --git a/docs/en/reference/working-with-objects.rst b/docs/en/reference/working-with-objects.rst index 31d44f275..967a38010 100644 --- a/docs/en/reference/working-with-objects.rst +++ b/docs/en/reference/working-with-objects.rst @@ -731,6 +731,8 @@ examples are equivalent: By Criteria ~~~~~~~~~~~ +.. versionadded:: 2.3 + The Repository implement the ``Doctrine\Common\Collections\Selectable`` interface. That means you can build ``Doctrine\Common\Collections\Criteria`` and pass them to the ``matching($criteria)`` method. diff --git a/docs/en/tutorials/composite-primary-keys.rst b/docs/en/tutorials/composite-primary-keys.rst index f50507fd3..82a5210cb 100644 --- a/docs/en/tutorials/composite-primary-keys.rst +++ b/docs/en/tutorials/composite-primary-keys.rst @@ -1,6 +1,8 @@ Composite and Foreign Keys as Primary Key ========================================= +.. versionadded:: 2.1 + Doctrine 2 supports composite primary keys natively. Composite keys are a very powerful relational database concept and we took good care to make sure Doctrine 2 supports as many of the composite primary key use-cases. For Doctrine 2.0 composite keys of primitive data-types are supported, for Doctrine 2.1 even foreign keys as diff --git a/docs/en/tutorials/extra-lazy-associations.rst b/docs/en/tutorials/extra-lazy-associations.rst index 59fc440a0..7ac88d8c4 100644 --- a/docs/en/tutorials/extra-lazy-associations.rst +++ b/docs/en/tutorials/extra-lazy-associations.rst @@ -1,6 +1,8 @@ Extra Lazy Associations ======================= +.. versionadded:: 2.1 + In many cases associations between entities can get pretty large. Even in a simple scenario like a blog. where posts can be commented, you always have to assume that a post draws hundreds of comments. In Doctrine 2.0 if you accessed an association it would always get loaded completely into memory. This diff --git a/docs/en/tutorials/pagination.rst b/docs/en/tutorials/pagination.rst index dc789540a..397138387 100644 --- a/docs/en/tutorials/pagination.rst +++ b/docs/en/tutorials/pagination.rst @@ -1,6 +1,8 @@ Pagination ========== +.. versionadded:: 2.2 + Starting with version 2.2 Doctrine ships with a Paginator for DQL queries. It has a very simple API and implements the SPL interfaces ``Countable`` and ``IteratorAggregate``.