3 namespace BookStack\Entities\Models;
5 use BookStack\Entities\Tools\EntityCover;
6 use BookStack\Uploads\Image;
7 use Illuminate\Database\Eloquent\Relations\BelongsTo;
9 interface HasCoverInterface
11 public function coverInfo(): EntityCover;
14 * The cover image of this entity.
15 * @return BelongsTo<Image, covariant Entity>
17 public function cover(): BelongsTo;