WP_CLI\Bootstrap
DeclareAbstractBaseCommand::process()
Process this single bootstrapping step.
Method of the class: DeclareAbstractBaseCommand{}
No Hooks.
Return
BootstrapState
. Modified state to pass to the next step.
Usage
$DeclareAbstractBaseCommand = new DeclareAbstractBaseCommand(); $DeclareAbstractBaseCommand->process( $state );
- $state(BootstrapState) (required)
- Contextual state to pass into the step.
DeclareAbstractBaseCommand::process() DeclareAbstractBaseCommand::process code WP-CLI 2.8.0-alpha
public function process( BootstrapState $state ) { require_once WP_CLI_ROOT . '/php/class-wp-cli-command.php'; return $state; }