Skip to content

Commit

Permalink
Updating Symfony version from 2.4 to 2.5
Browse files Browse the repository at this point in the history
The descriptions are still displaying the old version
  • Loading branch information
danielsan committed Jul 15, 2014
1 parent 74c2e94 commit 2299df0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/from_flat_php_to_symfony2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ content:
{
"require": {
"symfony/symfony": "2.4.*"
"symfony/symfony": "2.5.*"
},
"autoload": {
"files": ["model.php","controllers.php"]
Expand Down Expand Up @@ -480,8 +480,8 @@ the HTTP response being returned. Use them to improve the blog:
// echo the headers and send the response
$response->send();

.. versionadded:: 2.4
Support for HTTP status code constants was introduced in Symfony 2.4.
.. versionadded:: 2.5
Support for HTTP status code constants was introduced in Symfony 2.5.

The controllers are now responsible for returning a ``Response`` object.
To make this easier, you can add a new ``render_template()`` function, which,
Expand Down

0 comments on commit 2299df0

Please sign in to comment.