public function __construct( private readonly DefinitionInstanceRegistry
$definitionInstanceRegistry,
private readonly SerializerRegistry
$serializerRegistry,
private readonly PrimaryKeyResolver
$primaryKeyResolver ) { } public function create(ImportExportLogEntity
$logEntity): AbstractPipe
{ $pipe =
new ChainPipe([ new EntityPipe( $this->definitionInstanceRegistry,
$this->serializerRegistry,
null,
null,
$this->primaryKeyResolver
),
new KeyMappingPipe(),
]);
return $pipe;
}