WP_CLI\Bootstrap
ConfigureRunner{}
Class ConfigureRunner.
Initialize the configuration for the WP_CLI\Runner object.
No Hooks.
Usage
$ConfigureRunner = new ConfigureRunner(); // use class methods
Methods
Notes
- Package: WP_CLI\Bootstrap
ConfigureRunner{} ConfigureRunner{} code WP-CLI 2.8.0-alpha
final class ConfigureRunner implements BootstrapStep { /** * Process this single bootstrapping step. * * @param BootstrapState $state Contextual state to pass into the step. * * @return BootstrapState Modified state to pass to the next step. */ public function process( BootstrapState $state ) { $runner = new RunnerInstance(); $runner()->init_config(); return $state; } }