add legacy symfony support