private static function buildList(array $list, Structure $structure)
    {
        $insertTab = ($structure->getTab()) ? true : false;

        $result = '';
        foreach ($list as $value) {
            $result .= ($insertTab ? $structure->getTab() : '') . $structure->getIteratorCharacter() . ' ' . $value . PHP_EOL;
        }

        return $result;
    }
private static function buildList(array $list, Structure $structure)
    {
        $insertTab = ($structure->getTab()) ? true : false;

        $result = '';
        foreach ($list as $value) {
            $result .= ($insertTab ? $structure->getTab() : '') . $structure->getIteratorCharacter() . ' ' . $value . PHP_EOL;
        }

        return $result;
    }
private static function buildList ( array $ list , Structure $ structure ) { $ insertTab = ( $ structure -> getTab ( ) ) ? true : false ; $ result = '' ; foreach ( $ list as $ value ) { $ result .= ( $ insertTab ? $ structure -> getTab ( ) : '' ) . $ structure -> getIteratorCharacter ( ) . ' ' . $ value . PHP_EOL ; } return $ result ; }
Render a structure of type 'list

@param array     $list
@param Structure $structure

@return string
Render a structure of type list