Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored May 28, 2024
1 parent 9cb338b commit c9e785c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,14 @@ class CustomizerConfig {
### `cleanup()`

Using the `cleanup()` method, the template project authors can additionally
process the `composer.json` file content before all dependencies are updated and
process files. This runs after all answers are received and the user confirms
process the `composer.json` file content before all dependencies are updated.
This runs after all answers are received and the user confirms
the intended changes.

Use `$composerjson = [];` to prevent dependencies updates by the Customizer.
This essentially means that you are managing that process outside of this
method.

```php
/**
* A callback to process cleanup.
Expand Down

0 comments on commit c9e785c

Please sign in to comment.