mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Old command registration method was interfering with default commands, causing only a limited subset of commands to show overall. This change follows the method the frameworks uses when loading in from a directory to prevent issues with run/load order.
15 lines
282 B
PHP
15 lines
282 B
PHP
<?php
|
|
|
|
namespace BookStack\Interfaces;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\MorphMany;
|
|
|
|
/**
|
|
* A model that can be deleted in a manner that deletions
|
|
* are tracked to be part of the recycle bin system.
|
|
*/
|
|
interface Deletable
|
|
{
|
|
public function deletions(): MorphMany;
|
|
}
|