Install
class Install extends Command (View source)
Traits
Properties
protected | $exitCode | from Command | |
protected string | $signature | The name and signature of the console command. |
|
protected string | $description | The console command description. |
Methods
Executes the console command.
No description
This method reverses the process. It goes over all the files in the example and copies them from the project to the twill examples folder. If you have new files you need to manually copy them once.
No description
Details
__call($method, $parameters)
No description
handle()
Executes the console command.
protected bool
presetExists(string $preset)
No description
protected void
generateExampleFromGit(string $preset)
No description
protected void
installPresetFiles(string $preset, bool $fromTests = false, string|null $basePath = null)
No description
protected void
updatePreset(string $preset)
This method reverses the process. It goes over all the files in the example and copies them from the project to the twill examples folder. If you have new files you need to manually copy them once.
This is useful for developing examples as you can install it, update it, then copy it back.
void
publishConfig()
;
__construct(Filesystem $files, DatabaseManager $db)
No description