code: protected function executeTasks(InputInterface $input, OutputInterface $output, $data)
      {
          foreach ($this->tasks as $taskId) {
              $task = TaskContainer::create($taskId, $this);
  
              // Failed to execute task.
              if ($task && !$this->executeTask($task, $input, $output, $data)) {
                  return static::RETURN_ERROR;
              }
          }
  
          return static::RETURN_SUCCESS;
      }
docs: Execute tasks.
  
  @param InputInterface $input
  Input.
  @param OutputInterface $output
  Output.
  @param array $data
  Prepared data.
  
  @return boolean
  True or False.