if ($field->
is(Required::
class) && !
$field instanceof VersionField && !
$field instanceof ReferenceVersionField
) { $requiredAttributes[] =
$field->
getPropertyName();
} if ($field instanceof ManyToOneAssociationField ||
$field instanceof OneToOneAssociationField
) { $relationships[] =
$this->
createToOneLinkage($field,
$exampleDetailPath);
continue;
} if ($field instanceof AssociationField
) { $relationships[] =
$this->
createToManyLinkage($field,
$exampleDetailPath);
continue;
} if ($field instanceof TranslatedField &&
$definition->
getTranslationDefinition()) { $field =
$definition->
getTranslationDefinition()->
getFields()->
get($field->
getPropertyName());
} if ($field === null
) { continue;
}