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

Extracted the abstract class Resolver from WebPathResolver #35

Merged
merged 2 commits into from
Nov 10, 2011
Merged

Extracted the abstract class Resolver from WebPathResolver #35

merged 2 commits into from
Nov 10, 2011

Conversation

sixty-nine
Copy link

Storing files in the cache is a feature that will be used by most of the custom cache resolvers.

I extracted the store method as well as the CacheManager injection to an abstract Resolver class so that custom cache resolvers can share the code without extending WebPathResolver.

@sixty-nine
Copy link
Author

Maybe the Resolver class should be named AbstractResolver..

@lsmith77
Copy link
Contributor

lsmith77 commented Nov 8, 2011

hmm it should better be called AbstractFilesystemResolver i guess. but i don't think that this class should implement CacheManagerAwareInterface

@lsmith77
Copy link
Contributor

lsmith77 commented Nov 8, 2011

hmm maybe we should then also use https://github.com/knplabs/Gaufrette .. then again this adds another dependency

@lsmith77
Copy link
Contributor

ok can you do the rename? a Gaufrette resolver could be something separately if a use case comes along

@sixty-nine
Copy link
Author

Yes, I'll do this today

…moved the CacheManager injection from AbstractFilesystemResolver
lsmith77 added a commit that referenced this pull request Nov 10, 2011
Extracted the abstract class Resolver from WebPathResolver
@lsmith77 lsmith77 merged commit 8d5a617 into liip:master Nov 10, 2011
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.

2 participants