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