コード例 #1
0
 /**
  * Returns a list of projects for the currently authenticated user.
  *
  * @return \SimpleXMLElement
  */
 public function getProjects()
 {
     return simplexml_load_string($this->client->get("/projects"));
 }
コード例 #2
0
 /**
  * Returns a list of projects for the currently authenticated user.
  *
  * @return object
  */
 public function getProjects()
 {
     return json_decode($this->client->get("/projects"));
 }
コード例 #3
0
ファイル: Client.php プロジェクト: izap/pivotal-tracker-api
 /**
  * Returns a list of projects for the currently authenticated user.
  *
  * @return object
  */
 public function getProjects()
 {
     return $this->processResponse($this->client->get("/projects"));
 }