The `getContents` function in PSR-7. Is not idempotent, calling changes 
state.

It is a dangerous function compared to its friendly name starting with 
"get".

It would be best to rename this with a more appropriate verb at the 
beginning. But we are not considering backwards incompatible changes here.

Instead, please recognize this break with best practice by updating 
documentation to use loud uppercase letters to warn that this is not 
idempotent.

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/php-fig/36dd9241-7442-44a9-aaea-b7a008f796e3n%40googlegroups.com.

Reply via email to