<?php

{% block use_statements %}
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route;
{% endblock use_statements %}

{% block definition %}
$collection = new RouteCollection();
{% endblock definition %}

{% block body %}
$collection->add('{{ extension_alias }}_homepage', new Route('/hello/{name}', array(
    '_controller' => '{{ bundle }}:Default:index',
)));
{% endblock body %}

{% block return %}
return $collection;
{% endblock return %}
