Skip to content

Extracted the abstract class Resolver from WebPathResolver#35

Merged
lsmith77 merged 2 commits intoliip:masterfrom
sixty-nine:master
Nov 10, 2011
Merged

Extracted the abstract class Resolver from WebPathResolver#35
lsmith77 merged 2 commits intoliip:masterfrom
sixty-nine:master

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