Appearance
RemovalRules
php
final class Zairakai\LaravelDevTools\Services\RemovalRulesWhat the uninstall does with a file of the setup: remove it, or keep it and say why.
A file that is still what the package publishes is ours and goes. A file that the project changed is its own: it stays, except the files of config/dev-tools/ when the project asks to remove them all, and the thin files of the root, which point at config/dev-tools/ and would point at nothing.
Source: src/Services/RemovalRules.php
Constants
| Name | Value | Description |
|---|---|---|
CONFIG_FOLDER | 'config/dev-tools/' |
Methods
decide()
php
public static function decide(string $vendorPath, string $basePath, array $result, bool $customized): stringNull when the file is not ours to decide on (missing, or handled apart), 'remove', or the reason why it is kept.