Automattic\WooCommerce\Vendor\GraphQL\Utils

TypeInfo::getDirectivepublicWC 1.0

Method of the class: TypeInfo{}

No Hooks.

Returns

null. Nothing (null).

Usage

$TypeInfo = new TypeInfo();
$TypeInfo->getDirective(): ?Directive;

TypeInfo::getDirective() code WC 10.9.1

public function getDirective(): ?Directive
{
    return $this->directive;
}