Class LaravelUi5\Core\Attributes\SemanticLink

Declares a semantic link between two {@see SemanticObject}s.

Applied to a property of a model that itself represents a SemanticObject, this attribute marks a reference (arc) to another semantic object.

The link enables the SDK and UI to automatically:

  • resolve cross-module navigation intents
  • display related-object menus and context actions
  • construct semantic relationship graphs

Example

use LaravelUi5\Core\Attributes\SemanticLink;

class Project extends Model
{
    #[SemanticLink(model: \Ui5\Partners\Models\Partner::class)]
    public string $partner_id;
}

Parameters

Methods
Properties