Update controller.rst

Invalid flash example for php template leading to::

FatalErrorException: Error: Call to undefined method Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper::getFlashBag()