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

Depends. The problem with classing a class directly is that it couples your application to that class. It also hinders testing because you can't mock the class. If those things are important, use them. If not, it's a waste of time.


Sign in to participate in this thread!


Your banner here too?

budhajeewa budhajeewa Joined 27 Feb 2014


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.