Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| LayoutSpec | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celema\Boiler; |
| 6 | |
| 7 | use Celema\Boiler\Proxy\ArrayProxy; |
| 8 | |
| 9 | /** @internal */ |
| 10 | final readonly class LayoutSpec |
| 11 | { |
| 12 | /** @param ArrayProxy|array<array-key, mixed> $context */ |
| 13 | public function __construct( |
| 14 | public string $path, |
| 15 | public Location $location, |
| 16 | public ArrayProxy|array $context = [], |
| 17 | ) {} |
| 18 | } |