ActionScheduler_HybridStore::__construct()
ActionScheduler_HybridStore constructor.
Метод класса: ActionScheduler_HybridStore{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->__construct( $config );
- $config(Config)
- Migration config object.
По умолчанию: null
Код ActionScheduler_HybridStore::__construct() ActionScheduler HybridStore:: construct WC 7.7.2
public function __construct( Config $config = null ) { $this->demarkation_id = (int) get_option( self::DEMARKATION_OPTION, 0 ); if ( empty( $config ) ) { $config = Controller::instance()->get_migration_config_object(); } $this->primary_store = $config->get_destination_store(); $this->secondary_store = $config->get_source_store(); $this->migration_runner = new Runner( $config ); }