mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	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;
 | 
						|
}
 |