| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function preferences($managerId = null) |
||
| 19 | { |
||
| 20 | $employerId = $this->getCurrentEmployerId(); |
||
| 21 | $managerId = $managerId ?: $this->getCurrentManagerId(); |
||
| 22 | |||
| 23 | $uri = str_replace( |
||
| 24 | ['{employer_id}', '{manager_id}'], |
||
| 25 | [$employerId, $managerId], |
||
| 26 | '{employer_id}/managers/{manager_id}/settings' |
||
| 27 | ); |
||
| 28 | |||
| 29 | return $this->getResource($uri); |
||
| 30 | } |
||
| 31 | } |