I am new to Laravel and working on a simple project. At first, I was having trouble with classes not being found because of needing to namespace at first, but figured that out quickly. Now I am running into a problem where it won't find classes which i'm trying to inherit from no matter how they are namespaced.
So basically:
require_once (dirname(__FILE__) . '/../Modelcontainer.php');
class ListOrderItemsRequest extends Model ......
Throws the error that model cannot be found even though its included right there.
And if i go to the mocelcontainer.php and namespace it, it still doesn't work!
Thank you very much
Aucun commentaire:
Enregistrer un commentaire