| 1 | <?php |
||
| 8 | abstract class ApiBase |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var \zaporylie\Vipps\VippsInterface |
||
| 13 | */ |
||
| 14 | protected $app; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $subscriptionKey; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * ApiBase constructor. |
||
| 23 | * |
||
| 24 | * @param \zaporylie\Vipps\VippsInterface $app |
||
| 25 | * @param string $subscription_key |
||
| 26 | */ |
||
| 27 | public function __construct(VippsInterface $app, $subscription_key) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Gets subscription_key value. |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getSubscriptionKey() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Sets subscription_key variable. |
||
| 48 | * |
||
| 49 | * @param string $subscriptionKey |
||
| 50 | * |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | public function setSubscriptionKey($subscriptionKey) |
||
| 58 | } |
||
| 59 |