Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath\Extension

AttributeMatchingExtension::getAttributeMatchingTranslatorspublicWC 1.0

{@inheritdoc}

Method of the class: AttributeMatchingExtension{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AttributeMatchingExtension = new AttributeMatchingExtension();
$AttributeMatchingExtension->getAttributeMatchingTranslators(): array;

AttributeMatchingExtension::getAttributeMatchingTranslators() code WC 10.8.1

public function getAttributeMatchingTranslators(): array
{
    return [
        'exists' => [$this, 'translateExists'],
        '=' => [$this, 'translateEquals'],
        '~=' => [$this, 'translateIncludes'],
        '|=' => [$this, 'translateDashMatch'],
        '^=' => [$this, 'translatePrefixMatch'],
        '$=' => [$this, 'translateSuffixMatch'],
        '*=' => [$this, 'translateSubstringMatch'],
        '!=' => [$this, 'translateDifferent'],
    ];
}