Automattic\WooCommerce\Internal\CLI\Migrator\Commands
ResetCommand::init
Initialize the command with its dependencies.
Method of the class: ResetCommand{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ResetCommand = new ResetCommand(); $ResetCommand->init( $credential_manager, $platform_registry ): void;
- $credential_manager(CredentialManager) (required)
- The credential manager.
- $platform_registry(PlatformRegistry) (required)
- The platform registry.
ResetCommand::init() ResetCommand::init code WC 10.8.1
final public function init( CredentialManager $credential_manager, PlatformRegistry $platform_registry ): void {
$this->credential_manager = $credential_manager;
$this->platform_registry = $platform_registry;
}