WP_CLI\Bootstrap
ConfigureRunner::process
Process this single bootstrapping step.
Method of the class: ConfigureRunner{}
No Hooks.
Returns
BootstrapState. Modified state to pass to the next step.
Usage
$ConfigureRunner = new ConfigureRunner(); $ConfigureRunner->process( $state );
- $state(BootstrapState) (required)
- Contextual state to pass into the step.
ConfigureRunner::process() ConfigureRunner::process code WP-CLI 2.13.0-alpha
public function process( BootstrapState $state ) {
$runner = new RunnerInstance();
$runner()->init_config();
$state->setValue( 'config', $runner()->config );
$state->setValue( 'arguments', $runner()->arguments );
$state->setValue( 'assoc_args', $runner()->assoc_args );
return $state;
}