@@ 14-21 (lines=8) @@ | ||
11 | * @param mixed $employerId |
|
12 | * @return array |
|
13 | */ |
|
14 | public function getManagerTypes($employerId = false) |
|
15 | { |
|
16 | $employerId = $this->resolveEmployerId($employerId); |
|
17 | ||
18 | $verb = sprintf("%s/manager_types", $employerId ); |
|
19 | ||
20 | return $this->getResource($verb, []); |
|
21 | } |
|
22 | ||
23 | ||
24 | /** |
|
@@ 30-37 (lines=8) @@ | ||
27 | * @param mixed $employerId default resolved from profile |
|
28 | * @return array |
|
29 | */ |
|
30 | public function getManagers($employerId = false) |
|
31 | { |
|
32 | $employerId = $this->resolveEmployerId($employerId); |
|
33 | ||
34 | $verb = sprintf("%s/managers", $employerId ); |
|
35 | ||
36 | return $this->getResource($verb, []); |
|
37 | } |
|
38 | ||
39 | ||
40 | /** |
|
@@ 47-54 (lines=8) @@ | ||
44 | * @param mixed $employerId default resolved from profile |
|
45 | * @return array |
|
46 | */ |
|
47 | public function getManager($managerId, $employerId = false) |
|
48 | { |
|
49 | $employerId = $this->resolveEmployerId($employerId); |
|
50 | ||
51 | $verb = sprintf("%s/managers/%s", $employerId, $managerId ); |
|
52 | ||
53 | return $this->getResource($verb, []); |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param mixed $employerId default resolved from profile |