| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 15 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 29 | public function getResponse(string $url, string $method, $requestData): ResponseInterface  | 
            ||
| 30 |     { | 
            ||
| 31 |         switch ($method) { | 
            ||
| 32 | case Method::POST:  | 
            ||
| 33 | $this->curlClient->setRequestContentType(Document::CONTENT_TYPE);  | 
            ||
| 34 | $this->curlClient->setRequestData($requestData);  | 
            ||
| 35 | break;  | 
            ||
| 36 | case Method::GET:  | 
            ||
| 37 | case Method::HEAD:  | 
            ||
| 38 | break;  | 
            ||
| 39 | default:  | 
            ||
| 40 |                 throw new \WebServCo\Framework\Exceptions\NotImplementedException('Functionality not implemented.'); | 
            ||
| 41 | }  | 
            ||
| 42 | $this->curlClient->setMethod($method);  | 
            ||
| 43 | return $this->curlClient->retrieve($url);  | 
            ||
| 44 | }  | 
            ||
| 46 |