<?php

namespace {{ namespace }}\Controller;

{% block use_statements %}
use Pimcore\Controller\FrontendController;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
{% endblock use_statements %}

{% block class_definition %}
class DefaultController extends FrontendController
{% endblock class_definition %}
{
{% block class_body %}
    /**
     * @Route("/{{ extension_alias }}")
     */
    public function indexAction(Request $request)
    {
        return new Response('Hello world from {{ extension_alias }}');
    }
{% endblock class_body %}
}
