Automattic\WooCommerce\Blueprint\Importers
ImportInstallTheme::__construct
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() ImportInstallTheme:: construct code WC 10.6.2
public function __construct( ResourceStorages $storage ) {
$this->result = StepProcessorResult::success( InstallTheme::get_step_name() );
$this->storage = $storage;
}