if ($resolver === null
) { continue;
} if ($field instanceof AssociationField
) { $path[] =
$field->
getPropertyName();
} $currentPath =
implode('.',
$path);
$resolverContext =
new FieldResolverContext($currentPath,
$alias,
$field,
$definition,
$rootDefinition,
$query,
$context,
$criteriaPart);
$alias =
$this->
callResolver($resolverContext);
if (!
$field instanceof AssociationField
) { return;
} $definition =
$field->
getReferenceDefinition();
if ($field instanceof ManyToManyAssociationField
) { $definition =
$field->
getToManyReferenceDefinition();
} $parent =
$definition->
getField('parent'
);