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/d1087758-ceac-4b9a-a1e2-107553d9c18c%40googlegroups.com.
  • HttpFactoryIn... Daniyal Hamid
    • Re: Http... 'Alexander Makarow' via PHP Framework Interoperability Group
      • Re: ... Anton Fedonjuk
        • ... Daniyal Hamid
        • ... Matthew Weier O'Phinney

Reply via email to