original_string: public function setDefaultCommand($commandName, $isSingleCommand = false)
      {
          $this->defaultCommand = $commandName;
  
          if ($isSingleCommand) {
              // Ensure the command exist
              $this->find($commandName);
  
              $this->singleCommand = true;
          }
  
          return $this;
      }
code: public function setDefaultCommand($commandName, $isSingleCommand = false)
      {
          $this->defaultCommand = $commandName;
  
          if ($isSingleCommand) {
              // Ensure the command exist
              $this->find($commandName);
  
              $this->singleCommand = true;
          }
  
          return $this;
      }
code_tokens: public function setDefaultCommand ( $ commandName , $ isSingleCommand = false ) { $ this -> defaultCommand = $ commandName ; if ( $ isSingleCommand ) { // Ensure the command exist $ this -> find ( $ commandName ) ; $ this -> singleCommand = true ; } return $ this ; }
docstring: Sets the default Command name.
  
  @param string $commandName     The Command name
  @param bool   $isSingleCommand Set to true if there is only one command in this application
  
  @return self
docstring_tokens: Sets the default Command name .