vendredi 14 février 2020

Class not found on Laravel - Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)

Getting an error - Class 'Ientry' not found on Laravel 5.6. while running page localhost/work/i-upload-panel

My route.php code is below

Route::get('/i-upload-panel', function () {
    (new  Ientry())->importToDb();
        dd('done');
        return view('admin.i-upload-panel');
}
);

Model Ientry.php

<?php

namespace App\Http\Model;

use Illuminate\Database\Eloquent\Model;


class Ientry extends Model
{
     public function importToDb()
     {
        //Function here
     }
}



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39zl0FT
via IFTTT

Aucun commentaire:

Enregistrer un commentaire