| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Apps |
||
| 13 | { |
||
| 14 | public const MAX_GET_APPS = 100; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var Client |
||
| 18 | */ |
||
| 19 | private $client; |
||
| 20 | |||
| 21 | 1 | public function __construct(Client $client) |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get apps |
||
| 28 | * https://cybozudev.zendesk.com/hc/ja/articles/202931674#step2 |
||
| 29 | * |
||
| 30 | * @param array $ids |
||
| 31 | * @param array $codes |
||
| 32 | * @param string $name |
||
| 33 | * @param array $spaceIds |
||
| 34 | * @param integer $limit |
||
| 35 | * @param integer $offset |
||
| 36 | * @param integer $guestSpaceId |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | 1 | public function get(array $ids = [], array $codes = [], $name = null, array $spaceIds = [], $limit = self::MAX_GET_APPS, $offset = 0, $guestSpaceId = null): array |
|
| 55 |