extends |
BackedEnum |
|---|
The contract every layer's type enum fulfils.
Implementations are int-backed enums whose values are (layer << 6) | index. The enum's
->value is the full value — the one persisted (sdk_artifacts.type) and handed to
{@see \LaravelUi5\Core\Ui5\ArtifactTypeRegistry::resolve()}. layer() and index() only read
its two parts. PHP cannot
require the backing type through an interface; the {@see \LaravelUi5\Core\Ui5\ArtifactTypeRegistry}
refuses any other at registration.
Routing is not part of the contract: routes are Core's fixed shapes, so routePrefix()
lives on {@see \LaravelUi5\Core\Ui5\Enums\CoreArtifactType} alone.
| Methods | ||
|---|---|---|
public
|
layer(): ArtifactLayer
|
# |
public
|
index(): int
|
# |
public
|
label(): string
|
# |
public
|
isAccessible(): bool
|
# |
public
|
isExecutable(): bool
|
# |
| Methods inherited from BackedEnum |
|---|
from(), tryFrom() |
| Methods inherited from UnitEnum |
|---|
cases() |