]> BookStack Code Mirror - bookstack/blob - app/Interfaces/Sluggable.php
Added code editor changes mobile design handling
[bookstack] / app / Interfaces / Sluggable.php
1 <?php
2
3 namespace BookStack\Interfaces;
4
5 /**
6  * Assigned to models that can have slugs.
7  * Must have the below properties.
8  *
9  * @property int    $id
10  * @property string $name
11  */
12 interface Sluggable
13 {
14     /**
15      * Regenerate the slug for this model.
16      */
17     public function refreshSlug(): string;
18 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.