php/WP_CLI/Dispatcher/Subcommand.php
private function get_parameters( $spec = array() ) {
		$local_parameters  = array_column( $spec, 'name' );
		$global_parameters = array_column(
			WP_CLI\SynopsisParser::parse( $this->get_global_params() ),
			'name'
		);

		return array_unique( array_merge( $local_parameters, $global_parameters ) );
	}
private function get_parameters( $spec = array() ) {
		$local_parameters  = array_column( $spec, 'name' );
		$global_parameters = array_column(
			WP_CLI\SynopsisParser::parse( $this->get_global_params() ),
			'name'
		);

		return array_unique( array_merge( $local_parameters, $global_parameters ) );
	}
private function get_parameters ( $ spec = array ( ) ) { $ local_parameters = array_column ( $ spec , 'name' ) ; $ global_parameters = array_column ( WP_CLI \ SynopsisParser :: parse ( $ this -> get_global_params ( ) ) , 'name' ) ; return array_unique ( array_merge ( $ local_parameters , $ global_parameters ) ) ; }
Get an array of parameter names, by merging the command-specific and the
global parameters.

@param array  $spec Optional. Specification of the current command.

@return array Array of parameter names
Get an array of parameter names by merging the command - specific and the global parameters .