final | |
|---|---|
readonly | |
extends |
Ui5Descriptor |
Represents the descriptor of a UI5 library as derived from the .library file.
In UI5, the XML element <library><name> does NOT represent a human-readable
name, but the technical UI5 namespace of the library (e.g. com.laravelui5.core).
SAP historically uses the term "name" for this value, even though it semantically
represents a namespace. To preserve this distinction and make the origin explicit,
this descriptor intentionally stores the raw value as $name, while exposing it
via {@see getNamespace()}.
This makes the SAP-originated terminology visible at the boundary, while providing a clear and consistent semantic API to consumers.
| Methods | ||
|---|---|---|
public
|
__construct(string $name, string $vendor, string $version, string $title, string $documentation, array $dependencies)
|
# |
public
|
getNamespace(): string
|
# |
public
|
getVersion(): string
|
# |
public
|
getTitle(): string
|
# |
public
|
getDescription(): string
|
# |
public
|
getVendor(): string
|
# |
public
|
getDependencies(): array
|
# |
public
static
|
fromLibraryXml(string $path, string $namespace, string $builder): self
|
# |
public
static
|
fromLibraryManifest(string $path, string $vendor): self
|
# |