Skip to content

Commit fe29bc9

Browse files
committed
Added example how to use the bundle without auto discovery
1 parent 5251e64 commit fe29bc9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ httplug:
7878
stream_factory: ~
7979
```
8080
81+
#### Configuration without auto discovery
82+
83+
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):
84+
85+
```yaml
86+
httplug:
87+
classes:
88+
client: Http\Adapter\Guzzle6\Client
89+
message_factory: Http\Message\MessageFactory\GuzzleMessageFactory
90+
uri_factory: Http\Message\UriFactory\GuzzleUriFactory
91+
stream_factory: Http\Message\StreamFactory\GuzzleStreamFactory
92+
```
8193
8294
#### Configure your client
8395

0 commit comments

Comments
 (0)