lundi 30 avril 2018

Class path is not found in laravel

I wrote this code to seperate the class definition of "attractions" so that I could reuse it elsewhere. I will need it from multiple pages.

So the deal is that it is unable to find the part no matter what i do.

This is the definition of the class and you can also see the folder structure. This is the definition of the class and you can also see the folder structure.

trying to create an object $task of the type class trying to create an object $task of the type class

This is the error that pops up "Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'App\MyClasses\attractions\attractions' not found"

The screenshot of the error that pops up enter image description here

I tried every possible thing with the path but this would not be acceptable..

Any help? (I know this might be a very stupid and trivial mistake!)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire