Skip to content

Commit

Permalink
Merge pull request #22 from Swader/patch-1
Browse files Browse the repository at this point in the history
Update discovery.md
  • Loading branch information
sagikazarmark committed Oct 31, 2015
2 parents f1b2b86 + 840754c commit 2812a85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Currently available discovery services:

The principle is always the same: you call the static `find` method on the discovery service if no explicit implementation was specified. The discovery service will try to locate a suitable implementation. If no implementation is found, an `Http\Discovery\NotFoundException` is thrown.

## Installation

```
composer require "php-http/discovery"
```

## HTTP Client Discovery

Expand Down Expand Up @@ -40,7 +45,7 @@ class MyClass

## PSR-7 Message Factory Discovery

This type of discovery finds installed [PSR-7](http://www.php-fig.org/psr/psr-7/) Message implementations and their (factories)[message-factory.md].
This type of discovery finds installed [PSR-7](http://www.php-fig.org/psr/psr-7/) Message implementations and their [factories](message-factory.md).

``` php
use Http\Message\MessageFactory;
Expand Down

0 comments on commit 2812a85

Please sign in to comment.