public function unregisterSubCommandAlias($alias)
    {
        if (! array_key_exists($alias, $this->subCommandAliases)) {
            throw new \Exception("A sub-command alias with the name {$alias} does not exist.");
        }

        unset($this->subCommandAliases[$alias]);
    }
public function unregisterSubCommandAlias($alias)
    {
        if (! array_key_exists($alias, $this->subCommandAliases)) {
            throw new \Exception("A sub-command alias with the name {$alias} does not exist.");
        }

        unset($this->subCommandAliases[$alias]);
    }
public function unregisterSubCommandAlias ( $ alias ) { if ( ! array_key_exists ( $ alias , $ this -> subCommandAliases ) ) { throw new \ Exception ( "A sub-command alias with the name {$alias} does not exist." ) ; } unset ( $ this -> subCommandAliases [ $ alias ] ) ; }
Unregisters a sub-command alias.

@param string $alias The alias name.
Unregisters a sub - command alias .