Rethinking of Symfony2 generators