Skip to content

Commit b18fb8f

Browse files
authored
Merge pull request #96 from php-http/zend-artax
Added discovery support for Zend and Artax
2 parents e3cac20 + ef012f1 commit b18fb8f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
### Added
66

77
- Discovery support for CakePHP adapter
8+
- Discovery support for Zend adapter
9+
- Discovery support for Artax adapter
810

911
## 1.2.1 - 2017-03-02
1012

src/Strategy/CommonClassesStrategy.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
use Http\Adapter\React\Client as React;
2222
use Http\Adapter\Buzz\Client as Buzz;
2323
use Http\Adapter\Cake\Client as Cake;
24+
use Http\Adapter\Zend\Client as Zend;
25+
use Http\Adapter\Artax\Client as Artax;
2426

2527
/**
2628
* @internal
@@ -61,6 +63,8 @@ final class CommonClassesStrategy implements DiscoveryStrategy
6163
['class' => Buzz::class, 'condition' => Buzz::class],
6264
['class' => React::class, 'condition' => React::class],
6365
['class' => Cake::class, 'condition' => Cake::class],
66+
['class' => Zend::class, 'condition' => Zend::class],
67+
['class' => Artax::class, 'condition' => Artax::class],
6468
],
6569
];
6670

0 commit comments

Comments
 (0)