예제 #1
0
 /**
  * @param string $method Http::METHOD_
  * @param string $uri
  * @param array $options Request options to apply to the given
  *                                  request and to the transfer.
  * @return array response
  * @throws ClientException
  */
 public function sendRequest($method, $uri, array $options = [])
 {
     $request = $this->createRequest($method, $uri);
     return $this->processResponse($this->client->send($request, $options));
 }
예제 #2
0
파일: JiraApi.php 프로젝트: madmis/jira-api
 /**
  * @param AuthenticationInterface $authentication
  */
 public function setAuthentication(AuthenticationInterface $authentication)
 {
     $this->client->setAuthentication($authentication);
 }