Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules

QuerySecurityRule::getFragmentsprotectedWC 1.0

Method of the class: QuerySecurityRule{}

No Hooks.

Returns

array<string, FragmentDefinitionNode>.

Usage

// protected - for code of main (parent) or child class
$result = $this->getFragments(): array;

QuerySecurityRule::getFragments() code WC 11.0.1

protected function getFragments(): array
{
    return $this->fragments;
}