Action_Scheduler\Migration
ActionMigrator::__construct
ActionMigrator constructor.
Method of the class: ActionMigrator{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ActionMigrator = new ActionMigrator(); $ActionMigrator->__construct( $source_store, $destination_store, $log_migrator );
- $source_store(ActionScheduler_Store) (required)
- Source store object.
- $destination_store(ActionScheduler_Store) (required)
- Destination store object.
- $log_migrator(LogMigrator) (required)
- Log migrator object.
ActionMigrator::__construct() ActionMigrator:: construct code WC 10.5.0
public function __construct( \ActionScheduler_Store $source_store, \ActionScheduler_Store $destination_store, LogMigrator $log_migrator ) {
$this->source = $source_store;
$this->destination = $destination_store;
$this->log_migrator = $log_migrator;
}