Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0

Sounds like a good use of inheritance. When you say "fallback" controller, I think you really just mean making each controller extend some base controller that has a bunch of default logic in it, then override where necessary, sounds fairly straightforward.

Last updated 2 years ago.
0

Well, that's not exactly what I meant. I actually meant that if I don't want to override any of the functions of the fall-back controller then I see no point in making a controller at all. Not even an empty one.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Evertt evertt Joined 20 Oct 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.