X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3a9caea84609c9cf584ba9c15eed5d2a0db5a6d3..refs/pull/2734/head:/app/Interfaces/Sluggable.php diff --git a/app/Interfaces/Sluggable.php b/app/Interfaces/Sluggable.php index 84f0e5bcd..6aa94e69c 100644 --- a/app/Interfaces/Sluggable.php +++ b/app/Interfaces/Sluggable.php @@ -15,4 +15,9 @@ use Illuminate\Database\Eloquent\Builder; interface Sluggable { + /** + * Regenerate the slug for this model. + */ + public function refreshSlug(): string; + } \ No newline at end of file