Gitlab\Model\Project::commitComments PHP Метод

commitComments() публичный Метод

public commitComments ( string $ref, integer $page, integer $per_page = Api::PER_PAGE ) : Gitlab\Model\Commit[]
$ref string
$page integer
$per_page integer
Результат Gitlab\Model\Commit[]
    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;
    }