]> BookStack Code Mirror - bookstack/blobdiff - app/Interfaces/Sluggable.php
Extend /users API endpoint
[bookstack] / app / Interfaces / Sluggable.php
index 84f0e5bcd60f6738f623d9d8bffd567b10290c02..6aa94e69c9a66e39340df51fd91d7ee8c546974a 100644 (file)
@@ -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