<?php

namespace {{ ns }};

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class {{ class }}Controller extends Controller
{
    public function indexAction($name)
    {
        return $this->render('', array('name' => $name));
    }
}
<?php

namespace {{ ns }};

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class {{ class }} extends Controller
{
    public function indexAction($name)
    {
        return $this->render('', array('name' => $name));
    }
}

Remove double Controller in classname
Remove double Controller in classname

When generating a new Controller, the classname had a double Controller word in it. eg. TestControllerController.
This removes one of them.