<?php
/**
 * Launch rollback contract.
 *
 * @package ScheduledChanges
 */

namespace ScheduledChanges\Rollback;

/**
 * Executes rollback from a selected source run.
 */
interface LaunchRollbackService {
	/**
	 * Rolls back one successful source run.
	 */
	public function rollback(
		int $source_run_id,
		string $conflict_policy,
		string $created_target_policy,
		int $actor_id
	): RollbackOutcome;
}
