isReadable()) { throw new RuntimeException('Invalid input file'); } if ($this->appConfig->getAppValueBool('fail-' . $this->getId())) { throw new ProcessingException('Failing as set by AppConfig'); } $inputFile = $input['input']; $transcription = 'Fake transcription result'; return ['output' => $transcription]; } }