Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
20 | class SubscriptionUpdateByKeyRequest extends AbstractUpdateByKeyRequest |
||
21 | { |
||
22 | protected $resultClass = Subscription::class; |
||
23 | |||
24 | /** |
||
25 | * @param string $key |
||
26 | * @param string $version |
||
27 | * @param array $actions |
||
28 | * @param Context $context |
||
29 | */ |
||
30 | public function __construct($key, $version, array $actions = [], Context $context = null) |
||
31 | { |
||
32 | parent::__construct(SubscriptionsEndpoint::endpoint(), $key, $version, $actions, $context); |
||
|
|||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param string $key |
||
37 | * @param int $version |
||
38 | * @param Context $context |
||
39 | * @return static |
||
40 | */ |
||
41 | public static function ofKeyAndVersion($key, $version, Context $context = null) |
||
44 | } |
||
45 | } |
||
46 |