Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| AdminLayout | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| render | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\View\Components; |
| 4 | |
| 5 | use Closure; |
| 6 | use Illuminate\Contracts\View\View; |
| 7 | use Illuminate\View\Component; |
| 8 | |
| 9 | class AdminLayout extends Component |
| 10 | { |
| 11 | /** |
| 12 | * Create a new component instance. |
| 13 | */ |
| 14 | public function __construct() |
| 15 | { |
| 16 | // |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Get the view / contents that represent the component. |
| 21 | */ |
| 22 | public function render(): View|Closure|string |
| 23 | { |
| 24 | return view('layouts.admin'); |
| 25 | } |
| 26 | } |