| Methods |
public
|
__construct(
string $version,
list<ReferenceInterface> $references,
array<string, SchemaInterface> $schemas,
EntityContainerInterface $entityContainer,
)
Parameters
| $schemas |
keyed by namespace
|
|
#
|
public
|
getVersion(): string
The OData version this document conforms to.
The OData version this document conforms to.
For documents conforming to this specification the value is
"4.0" or "4.01".
Implements
|
#
|
public
|
getReferences(): array
All external documents referenced by this metadata document,
in document order.
All external documents referenced by this metadata document,
in document order.
References record which vocabulary documents were consulted
when the model was built. A serialiser emits them as
edmx:Reference elements so that clients can locate the
vocabulary definitions their annotations refer to.
Implements
|
#
|
public
|
getReference(string $uri): ?ReferenceInterface
Returns the reference for the given URI, or null when no
reference with that URI is declared.
Returns the reference for the given URI, or null when no
reference with that URI is declared.
Implements
|
#
|
public
|
getSchemas(): array
All schemas contained in or referenced by this document,
keyed by their namespace.
All schemas contained in or referenced by this document,
keyed by their namespace.
Implements
|
#
|
public
|
getSchema(string $namespace): ?SchemaInterface
Returns the schema with the given namespace, or null when
not found.
Returns the schema with the given namespace, or null when
not found.
Implements
|
#
|
public
|
getEntityContainer(): EntityContainerInterface
The single entity container of this service.
The single entity container of this service.
Every well-formed OData service metadata document contains
exactly one entity container across all its schemas.
Implements
|
#
|