Skip to content

Commit 75be70f

Browse files
committed
Removed 2.4 versionadded as version is deprecated
1 parent 0df1064 commit 75be70f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+0
-170
lines changed

book/controller.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,6 @@ content that's sent back to the client::
683683
$response = new Response(json_encode(array('name' => $name)));
684684
$response->headers->set('Content-Type', 'application/json');
685685

686-
.. versionadded:: 2.4
687-
Support for HTTP status code constants was introduced in Symfony 2.4.
688-
689686
The ``headers`` property is a :class:`Symfony\\Component\\HttpFoundation\\HeaderBag`
690687
object and has some nice methods for getting and setting the headers. The
691688
header names are normalized so that using ``Content-Type`` is equivalent to

book/from_flat_php_to_symfony2.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,6 @@ the HTTP response being returned. Use them to improve the blog:
484484
// echo the headers and send the response
485485
$response->send();
486486

487-
.. versionadded:: 2.4
488-
Support for HTTP status code constants was introduced in Symfony 2.4.
489-
490487
The controllers are now responsible for returning a ``Response`` object.
491488
To make this easier, you can add a new ``render_template()`` function, which,
492489
incidentally, acts quite a bit like the Symfony templating engine:

book/http_cache.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,9 +1104,6 @@ Here is how you can configure the Symfony reverse proxy to support the
11041104
}
11051105
}
11061106

1107-
.. versionadded:: 2.4
1108-
Support for HTTP status code constants was introduced in Symfony 2.4.
1109-
11101107
.. caution::
11111108

11121109
You must protect the ``PURGE`` HTTP method somehow to avoid random people

book/http_fundamentals.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,6 @@ interface to construct the response that needs to be returned to the client::
287287
// prints the HTTP headers followed by the content
288288
$response->send();
289289

290-
.. versionadded:: 2.4
291-
Support for HTTP status code constants was introduced in Symfony 2.4.
292-
293290
If Symfony offered nothing else, you would already have a toolkit for easily
294291
accessing request information and an object-oriented interface for creating
295292
the response. Even as you learn the many powerful features in Symfony, keep

book/internals.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ processing must only occur on the master request).
208208
Events
209209
~~~~~~
210210

211-
.. versionadded:: 2.4
212-
The ``isMasterRequest()`` method was introduced in Symfony 2.4.
213-
Prior, the ``getRequestType()`` method must be used.
214-
215211
Each event thrown by the Kernel is a subclass of
216212
:class:`Symfony\\Component\\HttpKernel\\Event\\KernelEvent`. This means that
217213
each event has access to the same basic information:

book/routing.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,9 +909,6 @@ component documentation.
909909
Completely Customized Route Matching with Conditions
910910
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
911911

912-
.. versionadded:: 2.4
913-
Route conditions were introduced in Symfony 2.4.
914-
915912
As you've seen, a route can be made to match only certain routing wildcards
916913
(via regular expressions), HTTP methods, or host names. But the routing system
917914
can be extended to have an almost infinite flexibility using ``conditions``:

book/security.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,6 @@ special attributes like this:
926926

927927
.. _book-security-template-expression:
928928

929-
.. versionadded:: 2.4
930-
The ``expression`` functionality was introduced in Symfony 2.4.
931-
932929
You can also use expressions inside your templates:
933930

934931
.. configuration-block::

book/service_container.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,6 @@ the work of instantiating the classes.
615615
Using the Expression Language
616616
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
617617

618-
.. versionadded:: 2.4
619-
The Expression Language functionality was introduced in Symfony 2.4.
620-
621618
The service container also supports an "expression" that allows you to inject
622619
very specific values into a service.
623620

@@ -805,9 +802,6 @@ Injecting the dependency by the setter method just needs a change of syntax:
805802
Injecting the Request
806803
~~~~~~~~~~~~~~~~~~~~~
807804

808-
.. versionadded:: 2.4
809-
The ``request_stack`` service was introduced in Symfony 2.4.
810-
811805
As of Symfony 2.4, instead of injecting the ``request`` service, you should
812806
inject the ``request_stack`` service and access the ``Request`` by calling
813807
the :method:`Symfony\\Component\\HttpFoundation\\RequestStack::getCurrentRequest`

components/console/helpers/progresshelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ Progress Helper
77
.. versionadded:: 2.3
88
The ``setCurrent`` method was introduced in Symfony 2.3.
99

10-
.. versionadded:: 2.4
11-
The ``clear`` method was introduced in Symfony 2.4.
12-
1310
.. caution::
1411

1512
The Progress Helper was deprecated in Symfony 2.5 and will be removed in

components/console/helpers/tablehelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ table rendering: using named layouts or by customizing rendering options.
3939
Customize Table Layout using Named Layouts
4040
------------------------------------------
4141

42-
.. versionadded:: 2.4
43-
The ``TableHelper::LAYOUT_COMPACT`` layout was introduced in Symfony 2.4.
44-
4542
The Table helper ships with three preconfigured table layouts:
4643

4744
* ``TableHelper::LAYOUT_DEFAULT``

0 commit comments

Comments
 (0)