rename methods in console service

This commit is contained in:
Билай Станислав 2024-12-12 16:51:16 +03:00
parent 11420fbb2b
commit 378f27970e

View File

@ -4,13 +4,12 @@ namespace kernel\services;
class ConsoleService
{
public function runInitScript(string $package): void
public function runComposerRequire(string $package): void
{
exec("composer require $package");
exec("composer install");
}
public function runDeactivateScript(string $package): void
public function runComposerRemove(string $package): void
{
exec("composer remove $package");
}