BuddyPressCommand::get_formatter( array $assoc_args )

Get Formatter object based on supplied parameters.

Parameters Parameters


(array) (Required) Parameters passed to command. Determines formatting.

Top ↑

Return Return


Source Source

File: cli/src/command.php

	protected function get_formatter( &$assoc_args ) {
		return new WP_CLI\Formatter( $assoc_args, $this->obj_fields );

Top ↑

Changelog Changelog

Version Description
2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.