add symfony >=2.1 support