Automattic\WooCommerce\Internal\CLI\Migrator\Commands

ListCommand::initpublicWC 1.0

Initialize the command with its dependencies.

Метод класса: ListCommand{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ListCommand = new ListCommand();
$ListCommand->init( $platform_registry ): void;
$platform_registry(PlatformRegistry) (обязательный)
The platform registry.

Код ListCommand::init() WC 11.1.0

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