you have to extend the ``Controller`` class from the FrameworkBundle. Otherwise, you could not use ``this->get(...)`` to retrieve a service from the container.