Hi Jan,

> I like this proposal a lot, since it provides a clear, concise interface to 
> these commonly uses, yet inconveniant to use, existing functions and 
> variables without having to always use a full-featured userland library.

Glad to hear the RFC is hitting the right notes!


> Speaking of interfaces: since you suggest using decoration and composition 
> over extension for ServerResponse, I am missing a ServerResponseInterface, so 
> that you can easily typehint such userland decorators.

I am not opposed to a ServerResponseInterface, if John Boehr is not -- though 
at the same time, I am wary of expanding the number of new declarations too 
much.


-- 
Paul M. Jones
pmjo...@pmjones.io
http://paul-m-jones.com

Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp

Solving the N+1 Problem in PHP
https://leanpub.com/sn1php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to