console service add method run command
This commit is contained in:
1 parent
17f31874ea
commit
11420fbb2b
1 file changed
+5
@@ -14,4 +14,9 @@ class ConsoleService
|
||||
{
|
||||
exec("composer remove $package");
|
||||
}
|
||||
|
||||
public function runCommand(string $command): void
|
||||
{
|
||||
exec($command);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user