rename methods in console service
This commit is contained in:
parent
11420fbb2b
commit
378f27970e
@ -4,13 +4,12 @@ namespace kernel\services;
|
|||||||
|
|
||||||
class ConsoleService
|
class ConsoleService
|
||||||
{
|
{
|
||||||
public function runInitScript(string $package): void
|
public function runComposerRequire(string $package): void
|
||||||
{
|
{
|
||||||
exec("composer require $package");
|
exec("composer require $package");
|
||||||
exec("composer install");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function runDeactivateScript(string $package): void
|
public function runComposerRemove(string $package): void
|
||||||
{
|
{
|
||||||
exec("composer remove $package");
|
exec("composer remove $package");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user