public function commitComments($ref, $page = 0, $per_page = Api::PER_PAGE)
{
$data = $this->api('repo')->commitComments($this->id, $ref, $page, $per_page);
$comments = array();
foreach ($data as $comment) {
$comments[] = CommitNote::fromArray($this->getClient(), $comment);
}
return $comments;
}