File: /var/www/html/sarvodayahospital/app/View/Components/DoctorVideo.php
<?php
// phpcs:disable
namespace App\View\Components;
use Illuminate\View\Component;
class DoctorVideo extends Component
{
// phpcs:enable
/**
* Public doctorvideos
*/
public $doctorvideos;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($doctorvideos)
{
$this->doctorvideos = $doctorvideos;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.doctor-video');
}
}