Automattic\WooCommerce\Internal\CLI\Migrator\Commands

ListCommand::initpublicWC 1.0

Initialize the command with its dependencies.

Method of the class: ListCommand{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ListCommand = new ListCommand();
$ListCommand->init( $platform_registry ): void;
$platform_registry(PlatformRegistry) (required)
The platform registry.

ListCommand::init() code WC 11.0.1

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