Skip to content

Commit e3cac20

Browse files
nickygerritsenNyholm
authored andcommitted
Add support for discovering CakePHP Adapter (#95)
1 parent 6b33475 commit e3cac20

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
### Added
6+
7+
- Discovery support for CakePHP adapter
38

49
## 1.2.1 - 2017-03-02
510

src/Strategy/CommonClassesStrategy.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Http\Client\Socket\Client as Socket;
2121
use Http\Adapter\React\Client as React;
2222
use Http\Adapter\Buzz\Client as Buzz;
23+
use Http\Adapter\Cake\Client as Cake;
2324

2425
/**
2526
* @internal
@@ -59,6 +60,7 @@ final class CommonClassesStrategy implements DiscoveryStrategy
5960
['class' => Socket::class, 'condition' => Socket::class],
6061
['class' => Buzz::class, 'condition' => Buzz::class],
6162
['class' => React::class, 'condition' => React::class],
63+
['class' => Cake::class, 'condition' => Cake::class],
6264
],
6365
];
6466

0 commit comments

Comments
 (0)