PHPForge\Scaffold\Scaffold\Modes
Esta página aún no está disponible en tu idioma.
API reference › Scaffold › Scaffold › Modes
Classes
Section titled “Classes”| Class | Summary |
|---|---|
AppendMode final | Applies a file by merging the provider entries that the destination lacks, or by writing the source when the destination is missing. |
ApplyResult final readonly | Represents the result of applying a file mapping: its outcome, the destination hash and an optional warning. |
PrependMode final | Applies a file by prepending the source block unless the destination already contains it. |
PreserveMode final | Applies a file only when the destination does not exist. |
ReplaceMode final | Applies a file by overwriting the destination unless it changed since its recorded hash. |
Interfaces
Section titled “Interfaces”| Interface | Summary |
|---|---|
ModeInterface | Defines how a write mode applies a file mapping to the project. |
| Enum | Summary |
|---|---|
ApplyOutcome | Represents the outcome of applying a file mapping. |