public function repository($account, $repo, $privilege = null)
    {
        return $this->requestGet(
            sprintf('privileges/%s/%s', $account, $repo),
            $this->getRepoParams($privilege)
        );
    }
public function repository($account, $repo, $privilege = null)
    {
        return $this->requestGet(
            sprintf('privileges/%s/%s', $account, $repo),
            $this->getRepoParams($privilege)
        );
    }
public function repository ( $ account , $ repo , $ privilege = null ) { return $ this -> requestGet ( sprintf ( 'privileges/%s/%s' , $ account , $ repo ) , $ this -> getRepoParams ( $ privilege ) ) ; }
Get a list of user privileges granted on a repository.

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

@throws \InvalidArgumentException
Get a list of user privileges granted on a repository .