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

Add a cache Service #15

Closed
Gashmob opened this issue Apr 21, 2024 · 1 comment · Fixed by #19
Closed

Add a cache Service #15

Gashmob opened this issue Apr 21, 2024 · 1 comment · Fixed by #19
Labels
enhancement New feature or request

Comments

@Gashmob
Copy link
Member

Gashmob commented Apr 21, 2024

A Service which allow to use cache:

$cache->get('key', static fn () => $value); // Return stored value or the one returned by closure
@Gashmob Gashmob added the enhancement New feature or request label Apr 21, 2024
@Gashmob
Copy link
Member Author

Gashmob commented Apr 22, 2024

Implement https://www.php-fig.org/psr/psr-16/

Gashmob added a commit that referenced this issue Apr 23, 2024
Gashmob added a commit that referenced this issue Apr 25, 2024
Gashmob added a commit that referenced this issue Apr 25, 2024
@Gashmob Gashmob linked a pull request Apr 25, 2024 that will close this issue
Gashmob added a commit that referenced this issue Apr 25, 2024
Gashmob added a commit that referenced this issue Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant