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!
The Laravel portal for problem solving, knowledge sharing and community building.
The community