update hydrator with the new available interface/method in doctrine/common