final |
|---|
readonly |
Places a {@see \LaravelUi5\Core\Ui5\Contracts\Ui5TileInterface} in the LUX Launchpad — a launch tile, the door to its app.
$leaf is a capability of the closed catalogue (LaunchpadTaxonomy), named alone: it is unique across all domains,
so the domain follows (#[Launchpad('data_management', weight: 10)]). A tile lies on a leaf and only there; one the
catalogue does not know is an error in ui5:describe --check and hidden, with a log line, at runtime. weight
orders the tiles on one leaf, higher first, then by namespace. A tile has one home: the attribute is not repeatable.
A module has at most one launch tile; a module whose app is a Concept's front door (#[ConceptEntry]) has exactly
one.
Launchpad-module-owned on purpose: the attribute and its discovery ({@see \LaravelUi5\Sdk\Launchpad\LaunchpadPlacements}) live here, keeping the registry free of Launchpad knowledge.
| Methods | ||
|---|---|---|
public
|
__construct(string $leaf, int $weight = 0)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$leaf
|
# |
public
|
int
|
$weight
|
# |