Skip to content

Commit 5c5471b

Browse files
committed
Add seoImage(): MorphMany relationship to interface
1 parent 7a1040f commit 5c5471b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Models/Contracts/HasSEOAttributes.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
namespace Statikbe\FilamentFlexibleContentBlocks\Models\Contracts;
44

5+
use Illuminate\Database\Eloquent\Relations\MorphMany;
6+
57
interface HasSEOAttributes
68
{
9+
/**
10+
* Returns the media-library relation to the hero image.
11+
*/
12+
public function seoImage(): MorphMany;
13+
714
/**
815
* Returns the SEO title
916
*/

0 commit comments

Comments
 (0)