<?php $session = Session::all() ?>

<?php if(!empty($session)): ?>
	<table>
		<tr>
			<th>Key</th>
			<th>Value</th>
		</tr>
		<?php foreach($session as $key => $value): ?>
			<tr>
				<td><?php echo e($key); ?></td>
				<td>
					<?php if (is_array($value) || is_object($value)): ?>
						<pre><?php echo e(print_r($value, true)); ?></pre>
					<?php else: ?>
						<?php echo e($value); ?>
					<?php endif; ?>
				</td>
			</tr>
		<?php endforeach; ?>
	</table>
<?php else: ?>
	<span class="anbu-empty">There are no session entries.</span>
<?php endif; ?>
