Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delayed closures, interfaces implementation, tests refactoring #10

Merged
merged 2 commits into from
Jul 28, 2019

Conversation

hivokas
Copy link
Member

@hivokas hivokas commented Jul 27, 2019

share(function() {
    return ['user' => auth()->user()];
});

// or

share('user', function() {
    return auth()->user();
});
  • Interfaces implementation (Arrayable, JsonSerializable, ArrayAccess)

  • Tests refactoring

Ilya Sakovich added 2 commits July 27, 2019 21:59
@hivokas
Copy link
Member Author

hivokas commented Jul 27, 2019

Any thoughts before merge?

@hivokas hivokas merged commit 74978ec into master Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Share lazily
1 participant