Skip to content

Instantly share code, notes, and snippets.

@weaverryan
Created Jun 30, 2014
Embed
What would you like to do?
Twig Render
{{ item.about.url }}
<?php
$twig->render('index.html.twig', array(
'item'=>array(
'home'=>array(
'title' =>'Home',
'url '=>'/',
),
'about'=>array(
'title' =>'About us',
'url' =>'about-us.html',
),
)
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment