WP_CLI\Context
Cli{}└─ Context
Default WP-CLI context.
No Hooks.
Usage
$Cli = new Cli(); // use class methods
Methods
- public process( $config )
Cli{} Cli{} code WP-CLI 2.13.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.
}
}