Listing 5.8. Plik WiezaController.php
<?php

namespace My\ZabytekBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

class WiezaController extends Controller
{
    /**
     * @Route("/wieza.html", name="url_wieza")
     * @Template()
     */
    public function indexAction()
    {
        return array();
    }
}