RSSAmplifier

Donat Studios · Oct 13, 2025

Fully Implementing PSR-16 Simple Cache is Less Than Simple

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Foreword : Please note this falls firmly into "nitpick" territory rather than shining light onto any sort of major issue. I just thought it was an interesting gotcha and wanted to share. TL;DR : To fully implement the PSR-16 specification as defined, an implementation MUST be contravariant of the defined interface in its accepted parameters when implementing v2 or later. I work on an application…

Read on donatstudios.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.