protected function renderPayloadDataAsMarkupList(array $data, $indent = 0) {
		$markup = '';
		foreach ($data as $key => $value) {
			$markup .= str_repeat(' ', $indent * 2) . '- ' . $key . ':';
			if (TRUE === is_array($value)) {
				$markup .= $this->renderPayloadDataAsMarkupList($value, ++ $indent);
			} else {
				$markup .= ' ' . $value . PHP_EOL;
			}
		}
		return TRUE === empty($markup) ? '' : PHP_EOL . $markup;
	}
protected function renderPayloadDataAsMarkupList(array $data, $indent = 0) {
		$markup = '';
		foreach ($data as $key => $value) {
			$markup .= str_repeat(' ', $indent * 2) . '- ' . $key . ':';
			if (TRUE === is_array($value)) {
				$markup .= $this->renderPayloadDataAsMarkupList($value, ++ $indent);
			} else {
				$markup .= ' ' . $value . PHP_EOL;
			}
		}
		return TRUE === empty($markup) ? '' : PHP_EOL . $markup;
	}
protected function renderPayloadDataAsMarkupList ( array $ data , $ indent = 0 ) { $ markup = '' ; foreach ( $ data as $ key => $ value ) { $ markup .= str_repeat ( ' ' , $ indent * 2 ) . '- ' . $ key . ':' ; if ( TRUE === is_array ( $ value ) ) { $ markup .= $ this -> renderPayloadDataAsMarkupList ( $ value , ++ $ indent ) ; } else { $ markup .= ' ' . $ value . PHP_EOL ; } } return TRUE === empty ( $ markup ) ? '' : PHP_EOL . $ markup ; }
Renders a deep array as a nested list of unordered
menu items in Markdown format.

@param array $data
@param integer $indent
@return string
Renders a deep array as a nested list of unordered menu items in Markdown format .