skip to Main Content

Model Logic In Laravel

I am working on the Laravel back-end and I have a some question. Can I put some logic methods to the the models? Get data in specific format, for example. And some like this: public function getAllWithObjects() { $all_photos =…

VIEW QUESTION
Back To Top
Search