public function validateConfigurations(AdminUiEntity
$adminUiEntity, Entity
$entity): void
{ $entityFields = \
array_map( fn ($arr) =>
$arr->
getName(),
$entity->
getFields() );
$this->
validateListingConfiguration( $entityFields,
$adminUiEntity->
getListing(),
$adminUiEntity->
getName() );
$this->
validateDetailConfiguration( $entityFields,
$adminUiEntity->
getDetail(),
$adminUiEntity->
getName() );
} /**
* @param string[] $entityFields
*/
private function validateListingConfiguration( array
$entityFields,