PeerComparator
Read onlyYes
FinalYes
Two rows are peers when they carry equal values in every ORDER BY column. Compared with Entry::isEqual() rather than ===, so two DateTimeImmutable instances of the same instant are peers.
Methods
- __construct() : mixed
- arePeers() : bool
Methods
__construct()
public
__construct(array<string|int, Reference> $orderBy) : mixed
Parameters
- $orderBy : array<string|int, Reference>
arePeers()
public
arePeers(Row $left, Row $right) : bool