Skip to content

[FrameworkBundle] add cache.app.simple psr simple cache #25710

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

Closed
wants to merge 2 commits into from

Conversation

dmaicher
Copy link
Contributor

@dmaicher dmaicher commented Jan 7, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #25708
License MIT
Doc PR TODO?

This adds a PSR SimpleCache version of the cache.app service.

Should I also update the documentation somewhere? 😊

@@ -11,6 +11,10 @@
<tag name="cache.pool" clearer="cache.app_clearer" reset="reset" />
</service>

<service id="cache.app.simple" class="Symfony\Component\Cache\Simple\Psr6Cache" public="true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be private?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just kept it consistent with the cache.app service which is also public.

So not sure 😊

If we don't really promote this service via the documentation I guess we could also make it private.

@fabpot
Copy link
Member

fabpot commented Jan 8, 2018

Thank you @dmaicher.

@fabpot fabpot closed this Jan 8, 2018
fabpot added a commit that referenced this pull request Jan 8, 2018
…e (dmaicher)

This PR was squashed before being merged into the 4.1-dev branch (closes #25710).

Discussion
----------

[FrameworkBundle] add cache.app.simple psr simple cache

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25708
| License       | MIT
| Doc PR        | TODO?

This adds a PSR SimpleCache version of the `cache.app` service.

Should I also update the documentation somewhere? 😊

Commits
-------

1b6ec8b [FrameworkBundle] add cache.app.simple psr simple cache
@dmaicher dmaicher deleted the simple-cache branch January 21, 2018 18:29
@fabpot fabpot mentioned this pull request May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants