Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
10 | class EpicService extends \JiraRestApi\JiraClient |
||
11 | { |
||
12 | use AgileApiTrait; |
||
13 | |||
14 | private $uri = '/epic'; |
||
15 | |||
16 | public function __construct(ConfigurationInterface $configuration = null, LoggerInterface $logger = null, $path = './') |
||
20 | } |
||
21 | |||
22 | public function getEpic($id, $paramArray = []) |
||
23 | { |
||
24 | $json = $this->exec($this->uri.'/'.$id.$this->toHttpQueryParameter($paramArray), null); |
||
25 | $epic = $this->json_mapper->map(json_decode($json), new Epic()); |
||
26 | |||
27 | return $epic; |
||
28 | } |
||
29 | |||
30 | public function getEpicIssues($id, $paramArray = []) |
||
36 | } |
||
37 | } |
||
38 |