console service add method run command

This commit is contained in:
Билай Станислав 2024-12-12 16:18:50 +03:00
parent 17f31874ea
commit 11420fbb2b

View File

@ -14,4 +14,9 @@ class ConsoleService
{ {
exec("composer remove $package"); exec("composer remove $package");
} }
public function runCommand(string $command): void
{
exec($command);
}
} }