A single vocabulary entry in the build-time catalog.
Each entry carries everything the generator needs to fetch, parse, and emit PHP classes for one vocabulary: the remote XML source, the OData namespace and canonical alias, and the target PHP namespace under which the generated classes will be placed.
Example — the SAP UI vocabulary:
getNamespace() → "com.sap.vocabularies.UI.v1" getAlias() → "UI" getUri() → "https://sap.github.io/odata-vocabularies/vocabularies/UI.xml" getPhpNamespace() → "LaravelUi5\OData\Vocabularies\Ui\V1"
Example — the OASIS Core vocabulary:
getNamespace() → "Org.OData.Core.V1" getAlias() → "Core" getUri() → "https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml" getPhpNamespace() → "LaravelUi5\OData\Vocabularies\Core\V1"
| Methods | ||
|---|---|---|
public
|
getNamespace(): string
|
# |
public
|
getAlias(): string
|
# |
public
|
getUri(): string
|
# |
public
|
getPhpNamespace(): string
|
# |
public
|
getDependencies(): list<string>
|
# |
public
|
toReference(): ReferenceInterface
|
# |