We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3270322 commit da0a6a9Copy full SHA for da0a6a9
lib/Gitlab/Model/Issue.php
@@ -87,4 +87,15 @@ public function addComment($body)
87
return Note::fromArray($this->getClient(), $this, $data);
88
}
89
90
+ public function showComments()
91
+ {
92
+ $notes = array();
93
+ $data = $this->api('issues')->showComments($this->project->id, $this->id);
94
+
95
+ foreach ($data as $note) {
96
+ $notes[] = Note::fromArray($this->getClient(), $this, $note);
97
+ }
98
99
+ return $notes;
100
101
0 commit comments