original_string: public function runTaskNow($taskName)
      {
          $tasks = $this->loader->loadTasks();
  
          foreach ($tasks as $task) {
              if ($task->getName() === $taskName) {
                  return $this->executeTask($task);
              }
          }
  
          throw new \InvalidArgumentException('Task ' . $taskName . ' not found');
      }
code: public function runTaskNow($taskName)
      {
          $tasks = $this->loader->loadTasks();
  
          foreach ($tasks as $task) {
              if ($task->getName() === $taskName) {
                  return $this->executeTask($task);
              }
          }
  
          throw new \InvalidArgumentException('Task ' . $taskName . ' not found');
      }
code_tokens: public function runTaskNow ( $ taskName ) { $ tasks = $ this -> loader -> loadTasks ( ) ; foreach ( $ tasks as $ task ) { if ( $ task -> getName ( ) === $ taskName ) { return $ this -> executeTask ( $ task ) ; } } throw new \ InvalidArgumentException ( 'Task ' . $ taskName . ' not found' ) ; }
docstring: Run a specific task now. Will ignore the schedule completely.
  
  @param string $taskName
  @return string Task output.
docstring_tokens: Run a specific task now . Will ignore the schedule completely .