if ($field->
is(Extension::
class)) { $extensions[] =
$field;
continue;
} 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()) {