Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules
QueryComplexity::getQueryComplexity
Complexity of the first operation exceeding the defined limit, or, in case no operation exceeds the limit, complexity of the last defined operation.
Method of the class: QueryComplexity{}
No Hooks.
Returns
null. Nothing (null).
Usage
$QueryComplexity = new QueryComplexity(); $QueryComplexity->getQueryComplexity(): int;
QueryComplexity::getQueryComplexity() QueryComplexity::getQueryComplexity code WC 11.0.0
public function getQueryComplexity(): int
{
return $this->queryComplexity;
}