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

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

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

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