Automattic\WooCommerce\Internal\CLI\Migrator\Core

PlatformRegistry::initpublicWC 1.0

Initialize the registry with dependencies.

Method of the class: PlatformRegistry{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PlatformRegistry = new PlatformRegistry();
$PlatformRegistry->init( $credential_manager ): void;
$credential_manager(CredentialManager) (required)
The credential manager.

PlatformRegistry::init() code WC 10.8.1

final public function init( CredentialManager $credential_manager ): void {
	$this->credential_manager = $credential_manager;
}