\Action_Scheduler\MigrationDryRun_LogMigrator

Class DryRun_LogMigrator

Summary

Methods
Properties
Constants
__construct()
migrate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$source
$destination
N/A

Properties

$source

$source : \ActionScheduler_Logger

Source logger instance.

Type

normal

$destination

$destination : \ActionScheduler_Logger

Destination logger instance.

Type

normal

Methods

__construct()

__construct(\ActionScheduler_Logger  $source_logger, \ActionScheduler_Logger  $destination_logger) : mixed

ActionMigrator constructor.

Parameters

\ActionScheduler_Logger $source_logger

Source logger object.

\ActionScheduler_Logger $destination_logger

Destination logger object.

Returns

mixed

migrate()

migrate(int  $source_action_id, int  $destination_action_id) : mixed

Simulate migrating an action log.

Parameters

int $source_action_id

Source logger object.

int $destination_action_id

Destination logger object.

Returns

mixed