ah yes, copy paste from symfony2 cookbook :)