My generic tools & debug functions for Symfony2