????

Your IP : 18.219.74.193


Current Path : /home/thenclexdoctor.com/public_html/app/Models/Api/
Upload File :
Current File : /home/thenclexdoctor.com/public_html/app/Models/Api/TextLessonAttachment.php

<?php
namespace App\Models\Api ;
use App\Models\TextLessonAttachment as PrimaryModel;

class TextLessonAttachment extends PrimaryModel {
    
    public function file()
    {
        return $this->belongsTo('App\Models\Api\File', 'file_id', 'id');
    }

    public function getDetailsAttribute(){
        return $this->file->details  ;
        return [
            'id'=>$this->id ,
            'file'=>$this->file->details 

        ] ;
    }


}

Page not found | The NCLEX Doctor

Page not found!

Sorry, this page is not available...