Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/view.php

Created Jul 29, 2019
Embed
What would you like to do?
<?php
function view($nombre, $datos = [])
{
echo Twig::obtener()->render("$nombre.twig", $datos);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment