Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | trait ApiGetMediator |
||
20 | { |
||
21 | /** |
||
22 | * @inheritDoc |
||
23 | * Fetch a list of {resource} from AE API. |
||
24 | */ |
||
25 | public function list(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface |
||
26 | { |
||
27 | return $this->launch($generalRequest, $serviceRequest, __FUNCTION__); |
||
|
|||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @inheritDoc |
||
32 | * Fetch {resource} details from AE API. |
||
33 | */ |
||
34 | public function get(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @inheritDoc |
||
41 | * Fetch {resource} details from AE API. |
||
42 | */ |
||
43 | public function info(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface |
||
46 | } |
||
47 | } |
||
48 |