/**
  * close ul tag for children elements
  * @param string $output
  * @param int $depth
  * @param array $args
  */
 public function end_lvl(&$output, $depth = 0, $args = array())
 {
     $indent = $depth ? str_repeat("t", $depth) : '';
     if (isset($args->twig) && HW_NAVMENU::twig_asset_exists('end_lvl.twig', $args->twig)) {
         $tpl = $args->twig->loadTemplate('end_lvl.twig');
         $output .= $tpl->render(array('indent' => $indent, 'args' => $args));
     } else {
         $output .= $indent . "</ul>\n";
     }
     #parent::end_lvl($output, $depth, $args);       #don't use
 }
 /**
  * @param string $output
  * @param int $depth
  * @param array $args
  */
 public function end_lvl(&$output, $depth = 0, $args = array())
 {
     if ('list' != $args['style']) {
         return;
     }
     $indent = str_repeat("\t", $depth);
     if (isset($args['twig']) && HW_NAVMENU::twig_asset_exists('end_lvl.twig', $args['twig'])) {
         $tpl = $args['twig']->loadTemplate('end_lvl.twig');
         $output .= $tpl->render(array('indent' => $indent, 'args' => $args));
     } else {
         $output .= "{$indent}</ul>\n";
     }
 }