Laravel 13 + Livewire/Volt app for managing client organizations, documents, passwords, flexible assets, virtual machines, contacts, domains, todos, shortcuts, and role-based user administration.
17 lines
356 B
PHP
17 lines
356 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
/**
|
|
* Implemented by any model that can appear in the Relationship Mapping panel
|
|
* (related_items). Lets the panel render a link + label without a type switch.
|
|
*/
|
|
interface Linkable
|
|
{
|
|
public function linkableKind(): string;
|
|
|
|
public function linkableLabel(): string;
|
|
|
|
public function linkableUrl(): string;
|
|
}
|