From 378f27970e6a79f26f272d55f562a965fea06698 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Thu, 12 Dec 2024 16:51:16 +0300 Subject: [PATCH] rename methods in console service --- kernel/services/ConsoleService.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/services/ConsoleService.php b/kernel/services/ConsoleService.php index 7cb8290..25c3d5c 100644 --- a/kernel/services/ConsoleService.php +++ b/kernel/services/ConsoleService.php @@ -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"); }