original_string: public function enableCommandName()
      {
          if (!$this->commandNameEnabled
              && $this->commandName
              && isset($this->arguments[0])
              && $this->arguments[0] === $this->commandName
          ) {
              unset($this->arguments[0]);
              $this->arguments = array_values($this->arguments);
          }
          $this->commandNameEnabled = true;
          return $this;
      }
code: public function enableCommandName()
      {
          if (!$this->commandNameEnabled
              && $this->commandName
              && isset($this->arguments[0])
              && $this->arguments[0] === $this->commandName
          ) {
              unset($this->arguments[0]);
              $this->arguments = array_values($this->arguments);
          }
          $this->commandNameEnabled = true;
          return $this;
      }
code_tokens: public function enableCommandName ( ) { if ( ! $ this -> commandNameEnabled && $ this -> commandName && isset ( $ this -> arguments [ 0 ] ) && $ this -> arguments [ 0 ] === $ this -> commandName ) { unset ( $ this -> arguments [ 0 ] ) ; $ this -> arguments = array_values ( $ this -> arguments ) ; } $ this -> commandNameEnabled = true ; return $ this ; }
docstring: Remove the command name from the arguments, if a command name is actually set.
  
  @return $this;
docstring_tokens: Remove the command name from the arguments if a command name is actually set .