Skip to content

Commit 59711d7

Browse files
committed
doc
1 parent 11c37d3 commit 59711d7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/VCS/Adapter.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,13 @@ abstract public function getCommit(string $owner, string $repositoryName, string
252252
*/
253253
abstract public function getLatestCommit(string $owner, string $repositoryName, string $branch): array;
254254

255+
/**
256+
* Check if user is a member of an organization
257+
*
258+
* @param string $username Username of the user
259+
* @param string $organization Name of the organization
260+
* @return bool True if user is a member of the organization, false otherwise
261+
*/
255262
abstract public function isUserMemberOfOrganization(string $username, string $organization): bool;
256263

257264
/**

0 commit comments

Comments
 (0)