| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ProcessRunner implements RunnerInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $bootstrapCode; |
||
| 19 | |||
| 20 | public function __construct(string $bootstrap = '') |
||
| 21 | { |
||
| 22 | $this->bootstrapCode = $bootstrap ? "require '$bootstrap';" : ''; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function run(CodeBlock $codeBlock): OutcomeInterface |
||
| 45 | } |
||
| 46 | } |
||
| 47 |