| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | class LayoutResponse extends HtmlResponse |
||
| 6 | { |
||
| 7 | /** @var string $layout */ |
||
| 8 | private $layout; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * LayoutResponse constructor. |
||
| 12 | * @param $html |
||
| 13 | * @param string $layout |
||
| 14 | * @param int $status |
||
| 15 | * @param array $headers |
||
| 16 | */ |
||
| 17 | 1 | public function __construct($html, string $layout, int $status = 200, array $headers = []) |
|
| 21 | 1 | } |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 1 | public function getLayout(): string |
|
| 29 | } |
||
| 30 | } |