Hi,
I would like to use new method like this:
Auth::myMethod()
I know I can do it in Guard class but I think it would be better not to change code in vendor. Is there some way how to do it outside of that class? Thanks
What is your purpose of myMethod()? The best and safe way is separate your own method from existing Auth.
you ca extend the laravel core classes. might come in handy sometimes.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community