| 1 | <?php |
||
| 12 | abstract class AbstractConnector implements ConnectorInterface |
||
| 13 | { |
||
| 14 | const PLATFORM_NAME = 'abstract'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var AdapterInterface |
||
| 18 | */ |
||
| 19 | protected $adapter; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * WsConnector constructor. |
||
| 23 | * |
||
| 24 | * @param AdapterInterface $adapter |
||
| 25 | */ |
||
| 26 | 3 | public function __construct(AdapterInterface $adapter) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | 1 | public function getAdapter() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 1 | public function getPlatform() |
|
| 46 | } |
||
| 47 |