andyandy
2 months ago
400
5
Laravel

Difference between auth()->user()->id and Auth::user()->id

Posted 2 months ago by andyandy

What's the difference between using:

auth()->user()->id

Auth::user()->id

Please sign in or create an account to participate in this conversation.