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

Deprecate anything related to pattern factories #140

Merged
merged 1 commit into from Aug 8, 2021

Conversation

boesing
Copy link
Member

@boesing boesing commented Jul 31, 2021

Q A
QA yes

Description

Pattern factories are quite complex depending on which pattern is used. There are pattern which do require a StorageInterface (which is the majority) and those, which don't.
Since there is that kind of complexity, upstream already had to write very specific configurations which can be replaced with dedicated factories in upstream projects.

With v2.12.0, we already changed our documentation on how cache pattern should be instantiated:
https://docs.laminas.dev/laminas-cache/pattern/intro/#quick-start

In v3.0.0, there won't be any way to dynamically create cache pattern via factories.

Pattern factories are quite complex depending on which pattern is used. There are pattern which do require a `StorageInterface` (which is the majority) and those, which don't.
Since there is that kind of complexity, upstream already had to write very specific configurations which can be replaced with dedicated factories in upstream projects.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate PatternPluginManager and related factories introduced in 2.12.x for BC compatibility
1 participant