* initial commit

This commit is contained in:
David Danyi
2019-10-29 21:45:28 +01:00
commit 2cf81c493e
35 changed files with 3616 additions and 0 deletions

19
src/App/Runner/Local.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Runner;
use Symfony\Component\Process\Process;
class Local implements RunnerInterface
{
public function execute($command): string
{
$process = new Process([
$command
]);
$process->run();
return $process->getOutput();
}
}