We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b736392 commit 49d445aCopy full SHA for 49d445a
1 file changed
src/Interfaces/Owner.php
@@ -3,11 +3,14 @@
3
namespace Yuges\Ownable\Interfaces;
4
5
use Illuminate\Support\Collection;
6
+use Yuges\Ownable\Relations\MorphToMany;
7
use Illuminate\Database\Eloquent\Relations\HasMany;
8
9
interface Owner
10
{
11
public function ownerships(): HasMany;
12
13
public function getOwnables(): Collection;
14
+
15
+ public function morphedByManyOwnable(string $related): MorphToMany;
16
}
0 commit comments