I'm using Symfony and sfDoctrineGuardPlugin.
How do I display, in a template, the username of the current user ?
I've tried $this->getUser()->getUsername(), but all I get is the error : "Call to undefined method sfPHPView::getUser."
I'm trying to display the username in a layout.php, not in a particular module/template