I was tinkering around with larval, getting ready to build an API for Ember Js. In my models I extend Model but in Laravel 4.2 I was extending Eloquent. Now I can't extend Eloquent unless I put it in the global namespace (\Eloquent). I fI don't do that then I get errors of not being able to find Eloquent. I have moved all my models to a new directory (everything is namespace correctly). Would this have anything to do with the errors?
What is the difference between Model and Eloquent in terms of extending them?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community