protected function formatResponse() : string {
        $responses = array();

        foreach (func_get_args() as $response) {
            $responses = array_merge($responses, (array) $response);
        }

        return array_to_newlines($responses);
    }
protected function formatResponse() : string {
        $responses = array();

        foreach (func_get_args() as $response) {
            $responses = array_merge($responses, (array) $response);
        }

        return array_to_newlines($responses);
    }
protected function formatResponse ( ) : string { $ responses = array ( ) ; foreach ( func_get_args ( ) as $ response ) { $ responses = array_merge ( $ responses , ( array ) $ response ) ; } return array_to_newlines ( $ responses ) ; }
Format an array of responses and return a string.

@param  mixed  $args
Format an array of responses and return a string .