Automattic\WooCommerce\Vendor\GraphQL\Executor
ReferenceExecutor::__construct
Method of the class: ReferenceExecutor{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->__construct( $context );
- $context(ExecutionContext) (required)
- .
ReferenceExecutor::__construct() ReferenceExecutor:: construct code WC 10.9.1
protected function __construct(ExecutionContext $context)
{
if (! isset(static::$UNDEFINED)) {
static::$UNDEFINED = Utils::undefined();
}
$this->exeContext = $context;
$this->subFieldCache = new \SplObjectStorage();
$this->fieldArgsCache = new \SplObjectStorage();
}