Support the ongoing development of Laravel.io →
Authentication Laravel
Last updated 5 months ago.
0
moderator Solution

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.

1
Solution selected by @renaldyks

Sign in to participate in this thread!

LoadForge

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?

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

© 2022 Laravel.io - All rights reserved.