Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updating Symfony version from 2.4 to 2.5
The descriptions are still displaying the old version
  • Loading branch information
danielsan committed Jul 15, 2014
commit 2299df0d643be336d277e01c92721b7d18f0b8ca
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's no right. Those constants were introduced in Symfony 2.4 (see https://github.com/symfony/symfony/blob/2.4/src/Symfony/Component/HttpFoundation/Response.php).


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