| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class TemplateResponse extends Response |
||
| 20 | { |
||
| 21 | |||
| 22 | protected Template $template; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Create new instance |
||
| 26 | * @param Template $template |
||
| 27 | * @param string $name |
||
| 28 | * @param array<string, mixed> $context |
||
| 29 | * @param int $statusCode |
||
| 30 | * @param string $reasonPhrase |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Return the template instance |
||
| 45 | * @return Template |
||
| 46 | */ |
||
| 47 | public function getTemplate(): Template |
||
| 52 |