<li>
    <a title="<?php echo e($item['title'] ?? $item['text'] ?? ''); ?>" class="text-muted" href="<?php echo e($item['href']  ?? '#'); ?>">
        <i class="<?php echo e($item['icon'] ?? ''); ?> mr-1"></i> <?php echo e($item['title'] ?? $item['text'] ?? ''); ?>

    </a>
</li>
<?php if( isset($item['children']) && count($item['children']) > 0 ): ?>

    <ul class="text-small pl-4">
            <?php echo $__env->renderEach('common.partials.footer-item', $item['children'], 'item'); ?>
    </ul>
<?php endif; ?>