https://github.com/pcastrotigre/TUserBundle/blob/master/DependencyInjection/MBTUserExtension.php