Command/ProcessHelpCommand.php
protected function getTaskDescription(TaskConfiguration $task)
    {
        $description = $task->getCode();
        $interfaces = [];
        $subprocess = [];
        $taskService = $this->getTaskService($task);

        if ($taskService instanceof IterableTaskInterface) {
            $interfaces[] = 'Iterable';
        }

        if ($taskService instanceof BlockingTaskInterface) {
            $interfaces[] = 'Blocking';
        }

        if ($taskService instanceof FlushableTaskInterface) {
            $interfaces[] = 'Flushable';
        }

        if ($taskService instanceof ProcessExecutorTask || $taskService instanceof ProcessLauncherTask) {
            $subprocess[] = $task->getOption('process');
        }

        if (\count($interfaces)) {
            $description .= ' <info>(' . implode(', ', $interfaces) . ')</info>';
        }

        if (\count($subprocess)) {
            $description .= ' <fire>{' . implode(', ', $subprocess) . '}</fire>';
        }

        if ($task->getDescription()) {
            $description .= " <comment>{$task->getDescription()}</comment>";
        }

        return $description;
    }
protected function getTaskDescription(TaskConfiguration $task)
    {
        $description = $task->getCode();
        $interfaces = [];
        $subprocess = [];
        $taskService = $this->getTaskService($task);

        if ($taskService instanceof IterableTaskInterface) {
            $interfaces[] = 'Iterable';
        }

        if ($taskService instanceof BlockingTaskInterface) {
            $interfaces[] = 'Blocking';
        }

        if ($taskService instanceof FlushableTaskInterface) {
            $interfaces[] = 'Flushable';
        }

        if ($taskService instanceof ProcessExecutorTask || $taskService instanceof ProcessLauncherTask) {
            $subprocess[] = $task->getOption('process');
        }

        if (\count($interfaces)) {
            $description .= ' <info>(' . implode(', ', $interfaces) . ')</info>';
        }

        if (\count($subprocess)) {
            $description .= ' <fire>{' . implode(', ', $subprocess) . '}</fire>';
        }

        if ($task->getDescription()) {
            $description .= " <comment>{$task->getDescription()}</comment>";
        }

        return $description;
    }
@param TaskConfiguration $task

@throws \Psr\Container\NotFoundExceptionInterface
@throws \Psr\Container\ContainerExceptionInterface
@throws \UnexpectedValueException

@return string