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