Jake Vanderwerf
2026-08-25 3d25ad7de4fdbb3eba2cde2a62422e6be5d79a0a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
namespace JVBase\managers\queue;
if (!defined('ABSPATH')) {
    exit;
}
 
interface Mergeable
{
    /**
     * Return requestData key/value pairs that must match for a candidate to be considered.
     * Empty array = match any (current behavior).
     */
    public function matchCriteria(Operation $incoming): array;
    public function canMerge(Operation $existing, Operation $incoming): bool;
    public function merge(Operation $existing, Operation $incoming): Operation;
}