php/WP_CLI/Dispatcher/CompositeCommand.php
private static function get_aliases( $subcommands ) {
		$aliases = array();

		foreach ( $subcommands as $name => $subcommand ) {
			$alias = $subcommand->get_alias();
			if ( $alias ) {
				$aliases[ $alias ] = $name;
			}
		}

		return $aliases;
	}
private static function get_aliases( $subcommands ) {
		$aliases = array();

		foreach ( $subcommands as $name => $subcommand ) {
			$alias = $subcommand->get_alias();
			if ( $alias ) {
				$aliases[ $alias ] = $name;
			}
		}

		return $aliases;
	}
private static function get_aliases ( $ subcommands ) { $ aliases = array ( ) ; foreach ( $ subcommands as $ name => $ subcommand ) { $ alias = $ subcommand -> get_alias ( ) ; if ( $ alias ) { $ aliases [ $ alias ] = $ name ; } } return $ aliases ; }
Get any registered aliases for this composite command's
subcommands.

@param array $subcommands
@return array
Get any registered aliases for this composite command s subcommands .