update to be compatible with new versions of symfony

replacing getChild methods with the new property
PropertyAccess::getValue()