Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Create discrete namespaces for PSR-6/PSR-16 implementations #155

Merged

Conversation

weierophinney
Copy link
Member

Per a suggestion from @marc-mabe, creates Zend\Cache\Psr\CacheItemPool and Zend\Cache\Psr\SimpleCache namespaces, moving class files for each implementation under the appropriate namespace.

Additionally, renames CachePoolItemAdapter to CachePoolItemDecorator. Both standards implementations are decorating zend-cache storage adapters, so the entry points should use consistent naming, and not use the "adapter" terminology, which refers to the storage they are decorating to implement the standards.

Creates `Zend\Cache\Psr\CacheItemPool` and `Zend\Cache\Psr\SimpleCache`
namespaces, moving class files for each implementation under the
appropriate namespace.
Consistency in naming. Both standards implementations are _decorating_ a
storage adapter.
@weierophinney weierophinney merged commit f4d3df0 into zendframework:develop Apr 20, 2018
weierophinney added a commit that referenced this pull request Apr 20, 2018
Also updates to detail the new namespaces of each implementation.
@weierophinney weierophinney deleted the feature/psr-namespaces branch April 20, 2018 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant