Tuesday, February 8, 2011

Remove User Attribute in Symfony

$this->getUser()->getAttributeHolder()->remove('attribute_name');