src/Client.php
public function roleList()
    {
        $body = $this->request(self::URI_AUTH_ROLE_LIST);

        if ($this->pretty && isset($body['roles'])) {
            return $body['roles'];
        }

        return $body;
    }
public function roleList()
    {
        $body = $this->request(self::URI_AUTH_ROLE_LIST);

        if ($this->pretty && isset($body['roles'])) {
            return $body['roles'];
        }

        return $body;
    }
public function roleList ( ) { $ body = $ this -> request ( self :: URI_AUTH_ROLE_LIST ) ; if ( $ this -> pretty && isset ( $ body [ 'roles' ] ) ) { return $ body [ 'roles' ] ; } return $ body ; }
get lists of all roles

@return array
@throws \GuzzleHttp\Exception\BadResponseException
get lists of all roles