$matches */ public function __construct( private readonly array $matches, private readonly IdentifierMode $identifierMode, ) {} /** * @return list */ public function matches(): array { return $this->matches; } public function identifierMode(): IdentifierMode { return $this->identifierMode; } public function isUidSort(): bool { return $this->identifierMode === IdentifierMode::Uid; } }