Skip to content

Commit 3bff763

Browse files
author
Karin van den Berg
committed
Add functionality for Organization:Issues
1 parent 93684a1 commit 3bff763

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/Github/Api/Organization.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,18 @@ public function teams()
7474
{
7575
return new Teams($this->client);
7676
}
77+
78+
/**
79+
* @link http://developer.github.com/v3/issues/#list-issues
80+
*
81+
* @param $organization
82+
* @param array $params
83+
* @param int $page
84+
*
85+
* @return array
86+
*/
87+
public function issues($organization, array $params = array(), $page = 1)
88+
{
89+
return $this->get('orgs/'.rawurlencode($organization).'/issues', array_merge(array('page' => $page), $params));
90+
}
7791
}

0 commit comments

Comments
 (0)