‪TYPO3CMS  9.5
ImmediateResponseException.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types = 1);
3 
4 namespace ‪TYPO3\CMS\Core\Http;
5 
6 /*
7  * This file is part of the TYPO3 CMS project.
8  *
9  * It is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License, either version 2
11  * of the License, or any later version.
12  *
13  * For the full copyright and license information, please read the
14  * LICENSE.txt file that was distributed with this source code.
15  *
16  * The TYPO3 project - inspiring people to share!
17  */
18 
19 use Psr\Http\Message\ResponseInterface;
20 
29 {
33  private ‪$response;
34 
39  public function ‪__construct(ResponseInterface ‪$response, int $code = 0)
40  {
41  $this->response = ‪$response;
42  $this->code = $code;
43  }
44 
48  public function ‪getResponse(): ResponseInterface
49  {
50  return ‪$this->response;
51  }
52 }
‪TYPO3\CMS\Core\Http\ImmediateResponseException\$response
‪ResponseInterface $response
Definition: ImmediateResponseException.php:32
‪TYPO3\CMS\Core\Exception
Definition: Exception.php:21
‪TYPO3\CMS\Core\Http\Response
Definition: Response.php:28
‪TYPO3\CMS\Core\Http\ImmediateResponseException\getResponse
‪Response getResponse()
Definition: ImmediateResponseException.php:47
‪TYPO3\CMS\Core\Http\ImmediateResponseException\__construct
‪__construct(ResponseInterface $response, int $code=0)
Definition: ImmediateResponseException.php:38
‪TYPO3\CMS\Core\Http\ImmediateResponseException
Definition: ImmediateResponseException.php:29
‪TYPO3\CMS\Core\Http
Definition: AbstractApplication.php:3