File: D:/HostingSpaces/SBogers10/kooken.komma.pro/vendor/komma/kms/src/Core/Attributes/Attributable.php
<?php
namespace Komma\KMS\Core\Attributes;
/**
* Indicates that this attribute can have many linked models when part of a component.
*
* Interface Attributable
* @package App\Kms\Core\Attributes
* @mixin Attribute
*/
interface Attributable
{
/**
* Define a model using this function as Attributable type.
* The AttributeableService used by the componentService then knows what kind of model you select.
* And the frontend knows where to get its data
* using the multiSelect.
*
* @param string $model
*
* @return MultiSelect
*/
public function canBeLinkedWith(string $model): MultiSelect;
/**
* @return string Returns the name of a model that can be linked to the model the autocomplete works for
*/
public function getCanBeLinkedWith(): string;
}