????

Your IP : 3.137.202.204


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

<?php

namespace App\Models\Api\Traits;

trait UploaderTrait
{

    public function storage( $file)
    {
        if (!$file ) {
           return null;
        }
        $fileName = $file->getClientOriginalName();
        $path = apiAuth()->id;
        $storage_path = $file->storeAs($path, $fileName);
        return 'store/' . $storage_path;
    }
}

Page not found | The NCLEX Doctor

Page not found!

Sorry, this page is not available...