mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 05:03:40 +08:00
1bf59f434b
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;
|
|
}
|