Skip to content

Commit 49d445a

Browse files
committed
fix
1 parent b736392 commit 49d445a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Interfaces/Owner.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
namespace Yuges\Ownable\Interfaces;
44

55
use Illuminate\Support\Collection;
6+
use Yuges\Ownable\Relations\MorphToMany;
67
use Illuminate\Database\Eloquent\Relations\HasMany;
78

89
interface Owner
910
{
1011
public function ownerships(): HasMany;
1112

1213
public function getOwnables(): Collection;
14+
15+
public function morphedByManyOwnable(string $related): MorphToMany;
1316
}

0 commit comments

Comments
 (0)