10000 [HttpFoundation] Mark new methods on Response as final by nicolas-grekas · Pull Request #24723 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpFoundation] Mark new methods on Response as final #24723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2017
Merged
Changes from all commits
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
[HttpFoundation] Mark new methods on Response as final
  • Loading branch information
nicolas-grekas committed Oct 28, 2017
commit a913f705831f5e8bbbab5623ed09c9959769ecb5
4 changes: 4 additions & 0 deletions src/Symfony/Component/HttpFoundation/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,8 @@ public function setPublic()
* @param bool $immutable enables or disables the immutable directive
*
* @return $this
*
* @final
*/
public function setImmutable($immutable = true)
{
Expand All @@ -628,6 +630,8 @@ public function setImmutable($immutable = true)
* Returns true if the response is marked as "immutable".
*
* @return bool returns true if the response is marked as "immutable"; otherwise false
*
* @final
*/
public function isImmutable()
{
Expand Down
0