Support the ongoing development of →
Configuration Eloquent Architecture
Last updated 2 years ago.

Eloquent models have a magic static call built in to handle dynamic static calls to model methods, so you can still call CompanyModel::doSomething() and the __callStatic() method within Eloquent will route your request correctly - this means its not necessary to define your model methods as static.


Sign in to participate in this thread!


Your banner here too?

chrobaks chrobaks Joined 1 Jun 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.