Automattic\WooCommerce\Blueprint\Importers

ImportInstallTheme::__constructpublicWC 1.0

ImportInstallTheme constructor.

Method of the class: ImportInstallTheme{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ImportInstallTheme = new ImportInstallTheme();
$ImportInstallTheme->__construct( $storage );
$storage(ResourceStorages) (required)
The resource storage used for downloading themes.

ImportInstallTheme::__construct() code WC 9.9.5

public function __construct( ResourceStorages $storage ) {
	$this->result  = StepProcessorResult::success( InstallTheme::get_step_name() );
	$this->storage = $storage;
}