PHPForge\Scaffold\Services
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
API reference › Scaffold › Services
Classes
Section titled “Classes”| Class | Summary |
|---|---|
ApplyPreview final readonly | Represents the content a destination has now and the content it would have after applying its provider mapping. |
ApplyPreviewer final readonly | Computes in memory what applying a provider mapping would write to its destination, without touching the disk. |
DiffService final | Renders Git-compatible unified diffs of what applying the provider would change in tracked files. |
EjectService final | Marks a file entry as ejected in scaffold-lock.json so scaffold stops writing it; the file stays on disk. |
ProvidersService final | Lists scaffold providers recorded in scaffold-lock.json with their file counts. |
PruneService final | Reports the orphaned entries of scaffold-lock.json and, when forced, removes them from the lock and deletes the orphaned files that hold only provider content. |
ReapplyService final | Rewrites tracked files from their provider stubs; without force it merges append and prepend files and skips ejected, adopted, user-modified and existing preserve files; it always skips orphaned files. |
ReapplySummary final | Counts the outcomes of a reapply run and formats its summary line. |
StatusService final | Reports the state of each file tracked in scaffold-lock.json against the disk and the current provider stubs, and the provider files not tracked yet as pending. |
SyncService final | Applies the allowed and installed providers to the project from the command line, with the same rules as a Composer install or update, or previews what applying them would change. |
| Enum | Summary |
|---|---|
FileStatus | Represents the state of a scaffold file, tracked in scaffold-lock.json or pending, as reported by the status command. |