Passed
Branch 6.0 (c154c1)
by Olivier
11:35
created

RenderOptions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the ICanBoogie package.
5
 *
6
 * (c) Olivier Laviale <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ICanBoogie\Render;
13
14
final class RenderOptions
15
{
16
    /**
17
     * @param array<string, mixed> $locals
18
     */
19
    public function __construct(
20
        public readonly ?string $template = null,
21
        public readonly ?string $partial = null,
22
        public readonly ?string $layout = null,
23
        public readonly array $locals = [],
24
    ) {
25
    }
26
}
27