final | |
|---|---|
readonly | |
implements |
CacheSerializable |
A row in the slot catalog held by Ui5Registry.
Built at boot from #[Slot] discovery on registered modules. Immutable
after the registry boot completes. declaredBy accumulates every
artifact (currently: module) that contributed an identical declaration
for this slot — the catalog requires all such declarations to agree on
type, default, note, and editable (D7 conflict policy).
Implements {@see CacheSerializable} so it round-trips the registry cache
structurally — the cure for F11, where the cache writer's get_class()
fallback silently flattened it to its FQCN. The shape matches what the SDK's
SdkRegistry/CachedRegistry hand-rolled before adopting this contract.
| Methods | ||
|---|---|---|
public
|
__construct(
string $name,
ParameterType $type,
mixed $default,
string $note,
EditLevel $editable,
class-string[] $declaredBy,
)
|
# |
public
|
toCache(): array
|
# |
public
static
|
fromCache(array $data): static
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name
|
# |
public
|
ParameterType
|
$type
|
# |
public
|
mixed
|
$default
|
# |
public
|
string
|
$note
|
# |
public
|
EditLevel
|
$editable
|
# |
public
|
class-string[]
|
$declaredBy
|
# |