Skip to content

AppIntrospectionArtifactWriter

Writes the cache/introspection/app.json artifact via a write-to-temp-then-rename, so an editor extension polling the file never observes a partial write mid-regeneration — the same technique Quiote\Support\Compiler\FilesystemArtifactWriter uses for compiled PHP artifacts, just for arbitrary JSON content instead of PHP source.

final class AppIntrospectionArtifactWriter

Since1.0.0
SourceIntrospection/AppIntrospectionArtifactWriter.php
MethodDescription
write(array<string, mixed> $artifact, string $target): void

public function write(array<string, mixed> $artifact, string $target): void

ParameterTypeDescription
$artifactarray``<``string``, ``mixed``>
$targetstring