Automattic\WooCommerce\Vendor\GraphQL\Server
ServerConfig::setDebugFlag
Set response debug flags.
Method of the class: ServerConfig{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ServerConfig = new ServerConfig(); $ServerConfig->setDebugFlag( $debugFlag ): self;
- $debugFlag(int)
- .
Default:DebugFlag::INCLUDE_DEBUG_MESSAGE
Notes
- See: \Automattic\WooCommerce\Vendor\GraphQL\Error\DebugFlag class for a list of all available flags
ServerConfig::setDebugFlag() ServerConfig::setDebugFlag code WC 10.8.1
public function setDebugFlag(int $debugFlag = DebugFlag::INCLUDE_DEBUG_MESSAGE): self
{
$this->debugFlag = $debugFlag;
return $this;
}