MetaValidator compatible with symfony 2.5+