Skip to content

Conversation

@mbabker
Copy link
Contributor

@mbabker mbabker commented Apr 24, 2021

With doctrine/cache being sunsetted, the component should provide a cache implementation that doesn't rely on an effectively deprecated package. This PR adds a cache implementation supporting any PSR-6 cache pool which can be used as a replacement.

Closes #76

@mbabker mbabker changed the title Add an AclCache implementation supporting symfony/cache Add an AclCache implementation supporting a PSR-6 cache pool Apr 25, 2021
@mbabker mbabker mentioned this pull request Apr 25, 2021
derrabus added a commit that referenced this pull request Apr 26, 2021
This PR was merged into the 3.x-dev branch.

Discussion
----------

Code style fixes

When locally running the CS fixer against #72 it picked up a couple of other changes along the way, so this PR corrects those so running the tool should result in zero changes on a fresh clone.  I also added its cache file to the gitignore.

Commits
-------

8c3a8e7 Code style fixes
Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

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

Thank you, we're almost there. 🙂

@derrabus
Copy link
Member

Thanks for your work on this new feature!

@derrabus derrabus merged commit 13249b7 into symfony:main Apr 28, 2021
@mbabker mbabker deleted the symfony-cache branch April 28, 2021 12:34
wouterj added a commit to symfony/acl-bundle that referenced this pull request Jul 16, 2021
This PR was merged into the 2.x-dev branch.

Discussion
----------

Add service definition for PsrAclCache

Requires symfony/security-acl#72

This adds the service definition for the new `Symfony\Component\Security\Acl\Domain\PsrAclCache` class added to the component for use as a cache service.

Commits
-------

a603061 Add service definition for PsrAclCache
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.

The cache interface should be implemented with the cache contracts

3 participants