예제 #1
0
파일: Client.php 프로젝트: Rhenan/teamwork
 /**
  * Build Query String
  *
  * if a query string is needed it will be built up
  * and added to the request. This is only used in certain
  * GET requests
  *
  * @param $query
  */
 public function buildQuery($query)
 {
     $q = $this->request->getQuery();
     foreach ($query as $key => $value) {
         $q[$key] = $value;
     }
 }
예제 #2
0
 /**
  * Return the http request info (for debug purposes).
  *
  * @return array
  */
 public function getRequestInfo()
 {
     return $this->request->getConfig();
 }