コード例 #1
0
 /**
  * @param integer $page
  * @param integer $perPage
  * @return array
  * @throws ApiException
  */
 public function getCommenters($page = null, $perPage = null)
 {
     $response = $this->api->getCommenters($page, $perPage);
     return array_map([$this, 'deserializeCommenter'], $response);
 }
コード例 #2
0
 /**
  * @param string $domain
  * @param string $path
  * @param integer $page
  * @param integer $perPage
  * @param string $order
  * @return array
  * @throws ApiException
  */
 public function getComments($domain = null, $path = null, $page = null, $perPage = null, $order = null)
 {
     $response = $this->api->getComments($page, $perPage, $order, $domain, $path);
     return array_map([$this, 'deserializeComment'], $response);
 }