college-courses/app/Http/Livewire/Course/CourseHomePage.php

25 lines
401 B
PHP
Raw Permalink Normal View History

2024-10-15 10:15:40 +03:00
<?php
namespace App\Http\Livewire\Course;
use App\Models\Course;
use Livewire\Component;
class CourseHomePage extends Component
{
public Course $course;
public function mount()
{
}
public function render()
{
return view(
'livewire.course.course-homepage',
['course' => $this->course]
)
->layout('layouts.base');
}
}