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

Hey!

Nothing to worry about. Your IDE is just not able to find the method event though it's there.

You can also try to logout using the Auth Facade directly like this:

\Auth::logout();

There are a few occurrences where magic methods can not be resolved eg. when they are behind Facades or likewise.

renaldyks liked this reply

1
Solution selected by @renaldyks

Sign in to participate in this thread!

Eventy

Your banner here too?

Kev renaldyks Joined 19 Oct 2021

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.