<?php if(!empty($menus)): ?>
	<?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
	<li>
		<?php if(isset($row->children)): ?> 
		<a  href="#" data-toggle="collapse" data-target="#parent<?php echo e($key); ?>" ><span><?php echo e($row->text); ?></span><i class="fas fa-chevron-down"></i></a>
		<ul id="parent<?php echo e($key); ?>" class="<?php echo e($ul); ?>" data-parent="#accordionExample" >
			<?php $__currentLoopData = $row->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $childrens): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
			 <?php echo $__env->make('components.menu.child', ['childrens' => $childrens,'data_parent' => 'parent'.$key], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		</ul>
		<?php else: ?>
		<a  href="<?php echo e(url($row->href)); ?>" <?php if(!empty($row->target)): ?> target="<?php echo e($row->target); ?>" <?php endif; ?>><span><?php echo e($row->text); ?></span></a>
		<?php endif; ?>
	</li>		
	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?><?php /**PATH /Volumes/my-works/laravel/dokans/script/resources/views/components/menu/parent.blade.php ENDPATH**/ ?>