/** * {@inheritdoc} */ public function launch() { $this->createDirectories(); /** @var Shell $shell */ $shell = $this->shellFactory->create(['entryPoint' => $this->entryPoint]); try { $shell->run(); } catch (\Exception $e) { echo $e->getMessage(); } return $this->response; }