This is wrong, it should work with old code, if not there is bug in Symfony that broke BC compatibility.