1 | <?php |
||
10 | abstract class AbstractTransport implements TransportInterface |
||
11 | { |
||
12 | /** |
||
13 | * The API credentials. |
||
14 | * |
||
15 | * @var ApiCredentials |
||
16 | */ |
||
17 | protected $apiCredentials; |
||
18 | |||
19 | /** |
||
20 | * Constructor. |
||
21 | * |
||
22 | * @param ApiCredentials $credentials The API credentials. |
||
23 | */ |
||
24 | public function __construct(ApiCredentials $credentials) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function setCredentials(ApiCredentials $credentials) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function getCredentials() |
||
46 | } |
||
47 |