You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/v3/caching.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Caching paginator pages
1
+
# Caching Paginator Pages
2
2
3
3
It is possible to cache pagination results by wrapping adapters in the shipped `CachingAdapter`.
4
4
The `CachingAdapter` requires a pagination adapter, a PSR cache item pool and a unique cache-key prefix.
@@ -62,7 +62,7 @@ Paginator assumes that you will likely use a single cache pool for all paginator
62
62
63
63
Finally, you can also provide an optional TTL in the form of a [`DateInterval`](https://www.php.net/manual/class.dateinterval.php) object.
64
64
65
-
## `PaginatorFactory`integration and setting defaults
65
+
## `PaginatorFactory`Integration and Setting Defaults
66
66
67
67
The shipped `PaginatorFactory` class is capable of decorating adapters for you, providing some configuration is in-place, thereby reducing the previous example to:
0 commit comments