Good solution.
вторник, 12 ноября 2019 г., 1:32:23 UTC+3 пользователь Daniyal Hamid
написал:
>
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/c501222c-f133-4a7e-bbda-86f31c7c9f1f%40googlegroups.com.