Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class PriorityService extends \JiraRestApi\JiraClient |
||
11 | { |
||
12 | private $uri = '/priority'; |
||
13 | |||
14 | /** |
||
15 | * Function to get all priorities. |
||
16 | * |
||
17 | * @throws \JiraRestApi\JiraException |
||
18 | * @throws \JsonMapper_Exception |
||
19 | * |
||
20 | * @return Priority|object Priority class |
||
21 | */ |
||
22 | public function getAll() |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * get specific priority info |
||
40 | * |
||
41 | * @param $priorityId priority id |
||
42 | * @return \JiraRestApi\Priority\Priority |
||
43 | * |
||
44 | * @throws \JiraRestApi\JiraException |
||
45 | * @throws \JsonMapper_Exception |
||
46 | */ |
||
47 | public function get($priorityId) |
||
59 |