Skip to content

Commit

Permalink
Merge pull request #609
Browse files Browse the repository at this point in the history
  • Loading branch information
symfony-flex-server[bot] committed Feb 1, 2019
2 parents eb065aa + 3d169b6 commit 6d3ad86
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions nyholm/psr7/1.0/config/packages/nyholm_psr7.yaml
Expand Up @@ -2,23 +2,13 @@ services:
_defaults:
public: false

## Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
#Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
#Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
#Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
#Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
#Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
#Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'

## Register nyholm/psr7 services for autowiring with HTTPlug
#Http\Message\MessageFactory: '@nyholm.psr7.httplug_factory'
#Http\Message\RequestFactory: '@nyholm.psr7.httplug_factory'
#Http\Message\ResponseFactory: '@nyholm.psr7.httplug_factory'
#Http\Message\StreamFactory: '@nyholm.psr7.httplug_factory'
#Http\Message\UriFactory: '@nyholm.psr7.httplug_factory'

nyholm.psr7.httplug_factory:
class: Nyholm\Psr7\Factory\HttplugFactory
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'

nyholm.psr7.psr17_factory:
class: Nyholm\Psr7\Factory\Psr17Factory

0 comments on commit 6d3ad86

Please sign in to comment.