| 1 | <?php |
||
| 23 | final class DefaultCallAdapterFactory implements CallAdapterFactory |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Returns true if the factory supports this type |
||
| 27 | * |
||
| 28 | * @param TypeToken $type |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 19 | public function supports(TypeToken $type): bool |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Create a new factory from type |
||
| 38 | * |
||
| 39 | * @param TypeToken $type |
||
| 40 | * @return CallAdapter |
||
| 41 | */ |
||
| 42 | 18 | public function create(TypeToken $type): CallAdapter |
|
| 46 | } |
||
| 47 |