| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace GameScan\Core\Request\Api; |
||
| 34 | 14 | public function get($ressourceToGrab, array $parameters = null) |
|
| 35 | { |
||
| 36 | 14 | $this->apiRequest->clean(); |
|
| 37 | 14 | $this->apiRequest->setHeaders($this->apiConfiguration->getHeaders()); |
|
| 38 | 14 | $this->apiRequest->setParameters($this->apiConfiguration->getParameters()); |
|
| 39 | |||
| 40 | 14 | return $this->apiRequest->get($ressourceToGrab, $parameters); |
|
| 41 | } |
||
| 42 | } |
||
| 43 |