| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | abstract class Client |
||
| 23 | { |
||
| 24 | use NamedKit, HChains; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var Closure |
||
| 28 | */ |
||
| 29 | private $invoker = null; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Client constructor. |
||
| 33 | * @param Cluster $clustering |
||
| 34 | * @param Remapping $remapping |
||
| 35 | */ |
||
| 36 | final public function __construct(Cluster $clustering = null, Remapping $remapping = null) |
||
| 47 | } |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $server |
||
| 52 | * @param string $service |
||
| 53 | * @param string $method |
||
| 54 | * @param Message $request |
||
| 55 | * @param Message $response |
||
| 56 | * @return Message |
||
| 57 | */ |
||
| 58 | final protected function request( |
||
| 81 |