File: D:/HostingSpaces/SBogers10/finsteps.komma.pro/app/Components/Component/ComponentableInterface.php
<?php
namespace App\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\Components\Component
*/
interface ComponentableInterface
{
/**
* Return the components of this model
*
* @return MorphToMany
*/
public function components(): BelongsToMany;
}