]> BookStack Code Mirror - bookstack/blob - app/Entities/Models/HasCoverImage.php
Merge pull request #5668 from bumperbox/patch-1
[bookstack] / app / Entities / Models / HasCoverImage.php
1 <?php
2
3 namespace BookStack\Entities\Models;
4
5 use Illuminate\Database\Eloquent\Relations\BelongsTo;
6
7 interface HasCoverImage
8 {
9     /**
10      * Get the cover image for this item.
11      */
12     public function cover(): BelongsTo;
13
14     /**
15      * Get the type of the image model that is used when storing a cover image.
16      */
17     public function coverImageTypeKey(): string;
18 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.