Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaPrinter::printIntrospectionSchema
Method of the class: SchemaPrinter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = SchemaPrinter::printIntrospectionSchema( $schema, $options ): string;
- $schema(Schema) (required)
- .
- $options(array)
- .
Default:[]
SchemaPrinter::printIntrospectionSchema() SchemaPrinter::printIntrospectionSchema code WC 10.9.1
public static function printIntrospectionSchema(Schema $schema, array $options = []): string
{
return static::printFilteredSchema(
$schema,
[Directive::class, 'isSpecifiedDirective'],
[Introspection::class, 'isIntrospectionType'],
$options
);
}