Aller au contenu
PHP Ecosystem
Explore

PHPForge\Scaffold\Scaffold

Ce contenu n’est pas encore disponible dans votre langue.

API reference › Scaffold › Scaffold

NamespaceTypes
PHPForge\Scaffold\Scaffold\Lock2
PHPForge\Scaffold\Scaffold\Modes7
ClassSummary
ExpectedState final readonlyRepresents the file mappings that the allowed and installed providers ship now, merged with the rule of ScaffoldRunner.
FileApplier final readonlyApplies a single file mapping after checking that its provider is in allowed-packages and validating its source and destination, reporting mode warnings through an OutputWriter.
MappingMerger finalMerges provider file mappings by destination; a later provider overrides an earlier one for the same destination.
PathResolver finalResolves absolute scaffold paths from roots and relative segments that callers have already validated with PathValidator.
Scaffolder final readonlyApplies every authorized provider’s files to the project inside a Composer run by converting Composer’s packages for the Composer-free ScaffoldRunner.
ScaffoldRunner final readonlyApplies the files of every allowed and installed provider to the project and records them in scaffold-lock.json, without depending on Composer’s IO or package classes.
ScaffoldSummary finalCounts the outcomes of a scaffold run and formats its one-line summary.