public function run() { $this->cidFile = $this->getTmpDir() . '/docker_' . $this->getUniqId() . '.cid'; $result = parent::run(); $result['cid'] = $this->getCid(); return $result; }
public function run() { $this->cidFile = sys_get_temp_dir() . '/docker_' . uniqid() . '.cid'; $result = parent::run(); $time = $result->getExecutionTime(); $cid = $this->getCid(); return new Result($this, $result->getExitCode(), $result->getMessage(), ['cid' => $cid, 'time' => $time, 'name' => $this->name]); }