Closed hivokas closed 5 years ago
I'm thinking about adding an ability to share the values lazily using Closures.
share(function() { return ['user' => auth()->user()]; }); // or share('user', function() { return auth()->user(); });
I'm thinking about adding an ability to share the values lazily using Closures.