| Methods |
public
|
getNamespace(): string
The full namespace of this schema, e.g. "MyService.Data".
The full namespace of this schema, e.g. "MyService.Data".
Implemented by
|
#
|
public
|
getAlias(): ?string
The optional alias for this schema's namespace, e.g. "self".
The optional alias for this schema's namespace, e.g. "self".
Implemented by
|
#
|
public
|
getEntityTypes(): list<EntityTypeInterface>
All entity types declared in this schema.
All entity types declared in this schema.
Implemented by
|
#
|
public
|
getEntityType(string $name): ?EntityTypeInterface
Returns an entity type by its simple (unqualified) name,
or null when not found.
Returns an entity type by its simple (unqualified) name,
or null when not found.
Implemented by
|
#
|
public
|
getComplexTypes(): list<ComplexTypeInterface>
All complex types declared in this schema.
All complex types declared in this schema.
Implemented by
|
#
|
public
|
getComplexType(string $name): ?ComplexTypeInterface
Returns a complex type by its simple name, or null when not found.
Returns a complex type by its simple name, or null when not found.
Implemented by
|
#
|
public
|
getEnumTypes(): list<EnumTypeInterface>
All enum types declared in this schema.
All enum types declared in this schema.
Implemented by
|
#
|
public
|
getEnumType(string $name): ?EnumTypeInterface
Returns an enum type by its simple name, or null when not found.
Returns an enum type by its simple name, or null when not found.
Implemented by
|
#
|
public
|
getTypeDefinitions(): list<TypeDefinitionInterface>
All type definitions declared in this schema.
All type definitions declared in this schema.
Implemented by
|
#
|
public
|
getTypeDefinition(string $name): ?TypeDefinitionInterface
Returns a type definition by its simple name, or null when
not found.
Returns a type definition by its simple name, or null when
not found.
Implemented by
|
#
|
public
|
getFunctions(): array<string, list<FunctionInterface>>
All function overloads declared in this schema, grouped by name.
All function overloads declared in this schema, grouped by name.
The array key is the simple function name; the value is a list
of all overloads with that name. Multiple overloads are possible
per the spec.
Implemented by
|
#
|
public
|
getFunction(string $name): list<FunctionInterface>
Returns all overloads of the function with the given simple name,
or an empty array when no such function exists in…
Returns all overloads of the function with the given simple name,
or an empty array when no such function exists in this schema.
Implemented by
|
#
|