You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to cache the config as usual but because of the closure
/*
|--------------------------------------------------------------------------
| User Model & Resolver
|--------------------------------------------------------------------------
|
| Define the User model class and how to resolve a logged User ID.
|
*/
'user' => [
'model' => App\User::class,
'resolver' => function () {
return Auth::check() ? Auth::user()->getAuthIdentifier() : null;
},
],
it renders artisan and the laravel app unusable.
Expected Behaviour
No problems when using php artisan config:cache
Steps to Reproduce
Use php artisan config:cache
Possible Solutions
Remove the closure :P
The text was updated successfully, but these errors were encountered:
Oh for fuck's sake, not this again. Mate, I've spent quite an amount of time properly documenting the package. Why would it be easier to create a new issue and wait for a reply, than doing a simple search, either in the GitHub issues or the troubleshooting section.
Actual Behaviour
I wanted to cache the config as usual but because of the closure
it renders artisan and the laravel app unusable.
Expected Behaviour
No problems when using
php artisan config:cache
Steps to Reproduce
Use
php artisan config:cache
Possible Solutions
Remove the closure :P
The text was updated successfully, but these errors were encountered: