WP_CLI\Bootstrap
BootstrapStep{}
Interface BootstrapStep.
Represents a single bootstrapping step that can be processed.
No Hooks.
Usage
$BootstrapStep = new BootstrapStep(); // use class methods
Methods
Notes
- Package: WP_CLI\Bootstrap
BootstrapStep{} BootstrapStep{} code WP-CLI 2.13.0-alpha
interface 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 );
}