|
19 | 19 | /** |
20 | 20 | * Simple yet very cool PHP GitHub client. |
21 | 21 | * |
22 | | - * @method Api\CurrentUser currentUser() |
23 | | - * @method Api\CurrentUser me() |
24 | | - * @method Api\Enterprise ent() |
25 | | - * @method Api\Enterprise enterprise() |
26 | | - * @method Api\Miscellaneous\CodeOfConduct codeOfConduct() |
27 | | - * @method Api\Miscellaneous\Emojis emojis() |
28 | | - * @method Api\Miscellaneous\Licenses licenses() |
29 | | - * @method Api\GitData git() |
30 | | - * @method Api\GitData gitData() |
31 | | - * @method Api\Gists gist() |
32 | | - * @method Api\Gists gists() |
33 | | - * @method Api\Miscellaneous\Gitignore gitignore() |
34 | | - * @method Api\Integrations integration() (deprecated) |
35 | | - * @method Api\Integrations integrations() (deprecated) |
36 | | - * @method Api\Apps apps() |
37 | | - * @method Api\Issue issue() |
38 | | - * @method Api\Issue issues() |
39 | | - * @method Api\Markdown markdown() |
40 | | - * @method Api\Notification notification() |
41 | | - * @method Api\Notification notifications() |
42 | | - * @method Api\Organization organization() |
43 | | - * @method Api\Organization organizations() |
44 | | - * @method Api\Organization\Projects orgProject() |
45 | | - * @method Api\Organization\Projects orgProjects() |
46 | | - * @method Api\Organization\Projects organizationProject() |
47 | | - * @method Api\Organization\Projects organizationProjects() |
48 | | - * @method Api\PullRequest pr() |
49 | | - * @method Api\PullRequest pullRequest() |
50 | | - * @method Api\PullRequest pullRequests() |
51 | | - * @method Api\RateLimit rateLimit() |
52 | | - * @method Api\Repo repo() |
53 | | - * @method Api\Repo repos() |
54 | | - * @method Api\Repo repository() |
55 | | - * @method Api\Repo repositories() |
56 | | - * @method Api\Search search() |
57 | | - * @method Api\Organization\Teams team() |
58 | | - * @method Api\Organization\Teams teams() |
59 | | - * @method Api\User user() |
60 | | - * @method Api\User users() |
61 | | - * @method Api\Authorizations authorization() |
62 | | - * @method Api\Authorizations authorizations() |
63 | | - * @method Api\Meta meta() |
64 | | - * @method Api\GraphQL graphql() |
| 22 | + * @method Api\CurrentUser currentUser() |
| 23 | + * @method Api\CurrentUser me() |
| 24 | + * @method Api\Enterprise ent() |
| 25 | + * @method Api\Enterprise enterprise() |
| 26 | + * @method Api\Miscellaneous\CodeOfConduct codeOfConduct() |
| 27 | + * @method Api\Miscellaneous\Emojis emojis() |
| 28 | + * @method Api\Miscellaneous\Licenses licenses() |
| 29 | + * @method Api\GitData git() |
| 30 | + * @method Api\GitData gitData() |
| 31 | + * @method Api\Gists gist() |
| 32 | + * @method Api\Gists gists() |
| 33 | + * @method Api\Miscellaneous\Gitignore gitignore() |
| 34 | + * @method Api\Integrations integration() (deprecated) |
| 35 | + * @method Api\Integrations integrations() (deprecated) |
| 36 | + * @method Api\Apps apps() |
| 37 | + * @method Api\Issue issue() |
| 38 | + * @method Api\Issue issues() |
| 39 | + * @method Api\Markdown markdown() |
| 40 | + * @method Api\Notification notification() |
| 41 | + * @method Api\Notification notifications() |
| 42 | + * @method Api\Organization organization() |
| 43 | + * @method Api\Organization organizations() |
| 44 | + * @method Api\Organization\Projects orgProject() |
| 45 | + * @method Api\Organization\Projects orgProjects() |
| 46 | + * @method Api\Organization\Projects organizationProject() |
| 47 | + * @method Api\Organization\Projects organizationProjects() |
| 48 | + * @method Api\Organization\OutsideCollaborators outsideCollaborators() |
| 49 | + * @method Api\PullRequest pr() |
| 50 | + * @method Api\PullRequest pullRequest() |
| 51 | + * @method Api\PullRequest pullRequests() |
| 52 | + * @method Api\RateLimit rateLimit() |
| 53 | + * @method Api\Repo repo() |
| 54 | + * @method Api\Repo repos() |
| 55 | + * @method Api\Repo repository() |
| 56 | + * @method Api\Repo repositories() |
| 57 | + * @method Api\Search search() |
| 58 | + * @method Api\Organization\Teams team() |
| 59 | + * @method Api\Organization\Teams teams() |
| 60 | + * @method Api\User user() |
| 61 | + * @method Api\User users() |
| 62 | + * @method Api\Authorizations authorization() |
| 63 | + * @method Api\Authorizations authorizations() |
| 64 | + * @method Api\Meta meta() |
| 65 | + * @method Api\GraphQL graphql() |
65 | 66 | * |
66 | 67 | * @author Joseph Bielawski <[email protected]> |
67 | 68 | * |
@@ -318,6 +319,11 @@ public function api($name) |
318 | 319 | $api = new Api\GraphQL($this); |
319 | 320 | break; |
320 | 321 |
|
| 322 | + case 'outsideCollaborators': |
| 323 | + case 'outside_collaborators': |
| 324 | + $api = new Api\Organization\OutsideCollaborators($this); |
| 325 | + break; |
| 326 | + |
321 | 327 | default: |
322 | 328 | throw new InvalidArgumentException(sprintf('Undefined api instance called: "%s"', $name)); |
323 | 329 | } |
|
0 commit comments