To get a profile information from the session object, I can do in the action:
$this->getUser()->getProfile()->getEmail();
// Which is a synonym for
$this->getUser()->getGuardUser()->getProfile()->getEmail();
But what if my starting point is the user class, and not the session class? I must do:
$guard_user->getProfile()->getEmail();
It would be very convenient to be able to do:
$guard_user->getEmail();
This is mostly useful for writing fixtures and for checking additional data of a user (think of how sfFeed guesses user email via the user object).