Elements - Sprattel/MiniMVC GitHub Wiki
An element is like a view but it should be used when you whant to clean up your template file.
Exampels
Render header
<?php echo Element::render('header.php');?>
Render a list of members
foreach($users as $user) echo Element::render('avatar.php', $user);