⚛ Uci GraphQL

Schema extends Schema
in package

Class used for the global schema in GraphQL.

Table of Contents

$instance  : Schema|null
Global instance in all the aplication.
clean()  : void
Clean all schema loaded.
get()  : Schema
Return the global instance for the schema in GraphQL.
__construct()  : mixed
We use a private construct method for prevent instances Its called as singleton pattern.

Properties

$instance

Global instance in all the aplication.

public static Schema|null $instance = null

Methods

clean()

Clean all schema loaded.

public static clean() : void
Return values
void

get()

Return the global instance for the schema in GraphQL.

public static get() : Schema
Return values
Schema

__construct()

We use a private construct method for prevent instances Its called as singleton pattern.

private __construct(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>
Return values
mixed

Search results