slimphp / Slim-HttpCache

Slim Framework HTTP cache middleware and service provider
MIT License
115 stars 25 forks source link

Unbind the Service Provider from the main code #7

Closed akrabat closed 8 years ago

akrabat commented 9 years ago

From https://github.com/slimphp/Slim/issues/1275#issuecomment-110006099:

Can we stop coupling the ServiceProvider with the actual code for the package. I see this is becoming a pattern that others will follow. Now that we are using Container Interop, we shouldn't bind the actual package to the Pimple ServiceProviderInterface, we should create a separate class in each package to do this.

silentworks commented 8 years ago

Done.