WP_CLI\Context

Cli{}WP-CLI 1.0

Default WP-CLI context.

No Hooks.

Usage

$Cli = new Cli();
// use class methods

Methods

  1. public process( $config )

Cli{} code WP-CLI 2.8.0-alpha

final class Cli implements Context {

	/**
	 * Process the context to set up the environment correctly.
	 *
	 * @param array $config Associative array of configuration data.
	 *
	 * @return void
	 */
	public function process( $config ) {
		// Nothing needs to be done for now, as this is the default.
	}
}