Automattic\WooCommerce\Vendor\GraphQL\Type
SchemaConfig::setDirectives
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() SchemaConfig::setDirectives code WC 10.9.4
public function setDirectives(?array $directives): self
{
$this->directives = $directives;
return $this;
}