| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | 15 | private function getHttpEndpoint($operation) |
|
| 49 | { |
||
| 50 | 15 | $url = sprintf( |
|
| 51 | 15 | "%s://%s:%d%s/%s", |
|
| 52 | 15 | $this->getOptions()->getProtocol(), |
|
| 53 | 15 | $this->getOptions()->getHost(), |
|
| 54 | 15 | $this->getOptions()->getPort(), |
|
| 55 | 15 | $this->getOptions()->getPrefix(), |
|
| 56 | 15 | $operation |
|
| 57 | ); |
||
| 58 | |||
| 59 | 15 | return $url; |
|
| 60 | } |
||
| 61 | } |
||
| 62 |