[FIX] Remove deprecated call for symfony23
[FIX] Remove deprecated call for symfony23

symfony2admingenerator/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle,symfony2admingenerator/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle