????
Current Path : /home/thenclexdoctor.com/public_html/app/Models/ |
Current File : /home/thenclexdoctor.com/public_html/app/Models/RelatedCourse.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class RelatedCourse extends Model { protected $table = "related_courses"; public $timestamps = false; protected $guarded = ['id']; /* ========== | Relations * ==========*/ public function targetable() { return $this->morphTo(); } public function course() { return $this->belongsTo(Webinar::class, 'course_id', 'id'); } }
Sorry, this page is not available...