File: D:/HostingSpaces/brameda/brameda.nl/app/Komma/Components/Component/ComponentableInterface.php
<?php
namespace App\Komma\Components\Component;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\MorphToMany;
/**
* Interface ComponentableInterface
*
* Defines that the given implementor implements a components method.
* Used by eloquent models.
*
* @package App\Komma\Components\Component
*/
interface ComponentableInterface
{
/**
* Return the components of this model
*
* @return MorphToMany
*/
public function components(): BelongsToMany;
}