Skip to content

Commit

Permalink
docs: marking ClassCache pattern as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Jul 11, 2021
1 parent aca93c0 commit 73f4eb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"laminas/laminas-cli": "^1.0",
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-config-aggregator": "^1.5",
"laminas/laminas-feed": "^2.14",
"laminas/laminas-serializer": "^2.6",
"phpbench/phpbench": "^1.0.0-beta2",
"phpspec/prophecy-phpunit": "^2.0",
Expand Down
9 changes: 5 additions & 4 deletions docs/book/pattern/class-cache.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ClassCache

The `ClassCache` pattern is an extension to the
[`CallbackCache`](callback-cache.md) pattern. It has the same methods, but
instead generates the callbacks for any public static method invoked on the
class being cached, and caches static properties.
## Deprecation

> ### Deprecated
>
> The `ClassCache` pattern is deprecated as of v2.12 and will be removed in v3.0.
## Quick Start

Expand Down

0 comments on commit 73f4eb5

Please sign in to comment.