Skip to content

Conversation

@datamweb
Copy link
Contributor

@datamweb datamweb commented Jan 8, 2026

Description
The method has already been implemented in BaseHandler and is therefore
available on all built-in cache handlers. Exposing it on the interface
improves IDE support and allows consumers to safely rely on the method
when type-hinting against CacheInterface.

Screenshot 2026-01-08 111152

See: #4107 (comment)

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan added breaking change Pull requests that may break existing functionalities 4.7 labels Jan 8, 2026
@paulbalandan paulbalandan force-pushed the feat/cache-remember-interface branch from 28c56cf to 6349e0c Compare January 19, 2026 07:45
@paulbalandan paulbalandan requested a review from michalsn January 19, 2026 08:18
@michalsn michalsn merged commit 21fbcf6 into codeigniter4:4.7 Jan 19, 2026
50 checks passed
@michalsn
Copy link
Member

Thank you @datamweb and @paulbalandan

@datamweb datamweb deleted the feat/cache-remember-interface branch January 22, 2026 23:34
@datamweb
Copy link
Contributor Author

Thanks everyone for pushing this PR forward.
I was offline for about 15 days due to connectivity limitations, so I couldn’t follow up—sorry about that.
Really appreciate the team for moving it ahead and getting it done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.7 breaking change Pull requests that may break existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants