Support the ongoing development of Laravel.io →
Requests Session
Last updated 1 year ago.
0

Should I use BaseController to do my special functionality that I want to extend across all my controllers? I see that the sample HomeController extends BaseController first.

Last updated 1 year ago.
0

Yes, I'd use BaseController in this example.

Last updated 1 year ago.
0

+1, I agree that the base controller will probably be the easiest place to do this.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

wkolcz wkolcz Joined 17 Mar 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.