Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class LongviewSubscriptionRepository extends AbstractRepository implements LongviewSubscriptionRepositoryInterface |
||
23 | { |
||
24 | protected function getBaseUri(): string |
||
25 | { |
||
26 | return '/longview/subscriptions'; |
||
27 | } |
||
28 | |||
29 | protected function getSupportedFields(): array |
||
30 | { |
||
31 | return [ |
||
32 | LongviewSubscription::FIELD_ID, |
||
33 | LongviewSubscription::FIELD_LABEL, |
||
34 | LongviewSubscription::FIELD_CLIENTS_INCLUDED, |
||
35 | LongviewSubscription::FIELD_PRICE, |
||
36 | ]; |
||
37 | } |
||
38 | |||
39 | protected function jsonToEntity(array $json): Entity |
||
42 | } |
||
43 | } |
||
44 |