src/mako/cli/output/helpers/UnorderedList.php
protected function buildList(array $items, string $marker, int $nestingLevel = 0): string
	{
		$list = '';

		foreach($items as $item)
		{
			if(is_array($item))
			{
				$list .= $this->buildList($item, $marker, $nestingLevel + 1);
			}
			else
			{
				$list .= $this->buildListItem($item, $marker, $nestingLevel);
			}
		}

		return $list;
	}
protected function buildList(array $items, string $marker, int $nestingLevel = 0): string
	{
		$list = '';

		foreach($items as $item)
		{
			if(is_array($item))
			{
				$list .= $this->buildList($item, $marker, $nestingLevel + 1);
			}
			else
			{
				$list .= $this->buildListItem($item, $marker, $nestingLevel);
			}
		}

		return $list;
	}
protected function buildList ( array $ items , string $ marker , int $ nestingLevel = 0 ) : string { $ list = '' ; foreach ( $ items as $ item ) { if ( is_array ( $ item ) ) { $ list .= $ this -> buildList ( $ item , $ marker , $ nestingLevel + 1 ) ; } else { $ list .= $ this -> buildListItem ( $ item , $ marker , $ nestingLevel ) ; } } return $ list ; }
Builds an unordered list.

@param  array  $items        Items
@param  string $marker       Item marker
@param  int    $nestingLevel Nesting level
@return string
Builds an unordered list .