lib/GitHub/Receiver/Organizations/Members.php
public function getOrganizationMembership(string $org, string $username): array
    {
        $this->getApi()->setAccept('application/vnd.github.moondragon+json');

        return $this->getApi()->request($this->getApi()->sprintf('/orgs/:org/memberships/:username', $org, $username));
    }
public function getOrganizationMembership(string $org, string $username): array
    {
        $this->getApi()->setAccept('application/vnd.github.moondragon+json');

        return $this->getApi()->request($this->getApi()->sprintf('/orgs/:org/memberships/:username', $org, $username));
    }
public function getOrganizationMembership ( string $ org , string $ username ) : array { $ this -> getApi ( ) -> setAccept ( 'application/vnd.github.moondragon+json' ) ; return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/orgs/:org/memberships/:username' , $ org , $ username ) ) ; }
Get organization membership

@link https://developer.github.com/v3/orgs/members/#get-organization-membership

@param string $org
@param string $username

@return array
@throws \Exception
Get organization membership