Hi,

I was wondering if it would be a good idea to create an 
HttpFactoryInterface class that basically is an amalgamation of all PSR-17 
interfaces, something like:

interface HttpFactoryInterface extends 
    RequestFactoryInterface, 
    ResponseFactoryInterface, 
    ServerRequestFactoryInterface, 
    StreamFactoryInterface, 
    UploadedFileFactoryInterface, 
    UriFactoryInterface 
{
}



Guzzle <https://github.com/guzzle/psr7/blob/master/src/HttpFactory.php> and 
Nyholm 
<https://github.com/Nyholm/psr7/blob/master/src/Factory/Psr17Factory.php> 
already 
have HttpFactories as such so maybe it's a good idea to add such an 
interface?

-- 
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 php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/cb94e1ea-a40c-4829-a1da-8a96443e9c50%40googlegroups.com.
  • PSR-17: HttpF... Daniyal Hamid

Reply via email to