lib/GitHub/Receiver/Organizations.php
public function listUserOrganizations(string $username): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/users/:username/orgs', $username));
    }
public function listUserOrganizations(string $username): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/users/:username/orgs', $username));
    }
public function listUserOrganizations ( string $ username ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/users/:username/orgs' , $ username ) ) ; }
List user organizations

@link https://developer.github.com/v3/orgs/#list-user-organizations

@param string $username

@return array
@throws \Exception
List user organizations