diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index d6fbfba0b3a50..c5c4237bc5776 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -515,6 +515,16 @@ public function getStatusCode() return $this->statusCode; } + /** + * Retrieves the status text for the current web response. + * + * @return string Status text + */ + public function getStatusText() + { + return $this->statusText; + } + /** * Sets the response charset. *
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: