mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 08:52:35 +00:00
refactoring
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
use App\Enums\ServiceStatus;
|
||||
use App\Jobs\PHP\InstallPHPExtension;
|
||||
use App\Jobs\PHP\SetDefaultCli;
|
||||
use App\Jobs\PHP\UpdatePHPSettings;
|
||||
use App\Models\Service;
|
||||
|
||||
class PHP
|
||||
@ -28,9 +27,4 @@ public function installExtension($name): void
|
||||
{
|
||||
dispatch(new InstallPHPExtension($this->service, $name))->onConnection('ssh-long');
|
||||
}
|
||||
|
||||
public function updateSettings(array $settings): void
|
||||
{
|
||||
dispatch(new UpdatePHPSettings($this->service, $settings))->onConnection('ssh-long');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user