Files
BookStack/app/App/SluggableInterface.php

16 lines
254 B
PHP
Raw Permalink Normal View History

2021-06-26 15:23:15 +00:00
<?php
2023-05-17 17:56:55 +01:00
namespace BookStack\App;
/**
* Assigned to models that can have slugs.
* Must have the below properties.
*/
interface SluggableInterface
{
/**
* Regenerate the slug for this model.
*/
public function refreshSlug(): string;
2021-06-26 15:23:15 +00:00
}