BookStackApp_BookStack/app/Entities/Models/Deletable.php
2023-05-17 17:56:55 +01:00

15 lines
287 B
PHP

<?php
namespace BookStack\Entities\Models;
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;
}