1 | <?php |
||
13 | abstract class AbstractAdapter implements AdapterInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var ClientInterface |
||
17 | */ |
||
18 | protected $client; |
||
19 | |||
20 | /** |
||
21 | * Constructor. |
||
22 | * |
||
23 | * take care the sending the message over the client and protocol related crap |
||
24 | * |
||
25 | * @param ClientInterface $client |
||
26 | */ |
||
27 | 5 | public function __construct(ClientInterface $client) |
|
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | 2 | public function getProtocol() |
|
39 | } |
||
40 |