remove method2 for symfony