public function repositories($account, $privilege = null)
    {
        return $this->requestGet(
            sprintf('privileges/%s', $account),
            $this->getRepoParams($privilege)
        );
    }
public function repositories($account, $privilege = null)
    {
        return $this->requestGet(
            sprintf('privileges/%s', $account),
            $this->getRepoParams($privilege)
        );
    }
public function repositories ( $ account , $ privilege = null ) { return $ this -> requestGet ( sprintf ( 'privileges/%s' , $ account ) , $ this -> getRepoParams ( $ privilege ) ) ; }
Get a list of all privileges across all an account's repositories.

If a repository has no individual users with privileges, it does not appear in this list.

@access public
@param  string           $account   Owner of the repository.
@param  string           $privilege Filters for a particular privilege.
@return MessageInterface

@throws \InvalidArgumentException
Get a list of all privileges across all an account s repositories .