From fe29bc9d218b5f8c78b0ce919607882d7734872f Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Thu, 25 Feb 2016 16:47:03 +0100 Subject: [PATCH] Added example how to use the bundle without auto discovery --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index d373aa44..964ea01f 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,18 @@ httplug: stream_factory: ~ ``` +#### Configuration without auto discovery + +By default we use Puli to auto discover factories. If you do not want to use auto discovery you could use the following configuration (Guzzle): + +```yaml +httplug: + classes: + client: Http\Adapter\Guzzle6\Client + message_factory: Http\Message\MessageFactory\GuzzleMessageFactory + uri_factory: Http\Message\UriFactory\GuzzleUriFactory + stream_factory: Http\Message\StreamFactory\GuzzleStreamFactory +``` #### Configure your client