| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class LayoutsCollection extends BaseCollection |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Find a layout based on its name |
||
| 16 | * |
||
| 17 | * @return \NovaFlexibleContent\Layouts\Layout|mixed |
||
| 18 | */ |
||
| 19 | 14 | public function find(string $name, mixed $default = null): mixed |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function whereName(string|array $names): static |
|
| 32 |