lundi 28 novembre 2016

Weird path situation in Laravel. Why is this working?

I'm working on some Laravel code in PHPStorm and I just noticed a weird path problem. Looking at the project directory

enter image description here

it's obvious the path to my models is App\Models but if you look at the code, the path is App\Http\Models. If I change the code to use App\Model, PHPStorm complains that it can't find the model, and when I run the code I get the same error.

I've looked throughout my code and this is the case everywhere.

What's going on here?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire