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;
    }
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;
    }
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 ; }
Remove the command name from the arguments, if a command name is actually set.

@return $this;
Remove the command name from the arguments if a command name is actually set .