removed function getParentType from EntityTypeInterface.php