Automattic\WooCommerce\Vendor\GraphQL\Type

SchemaConfig::setDirectivespublicWC 1.0

Method of the class: SchemaConfig{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SchemaConfig = new SchemaConfig();
$SchemaConfig->setDirectives( ?array $directives ): self;
?array $directives(required)
.

SchemaConfig::setDirectives() code WC 10.9.4

public function setDirectives(?array $directives): self
{
    $this->directives = $directives;

    return $this;
}