mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			419 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			419 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace BookStack\Entities\Queries;
 | 
						|
 | 
						|
use BookStack\Entities\EntityProvider;
 | 
						|
use BookStack\Permissions\PermissionApplicator;
 | 
						|
 | 
						|
abstract class EntityQuery
 | 
						|
{
 | 
						|
    protected function permissionService(): PermissionApplicator
 | 
						|
    {
 | 
						|
        return app()->make(PermissionApplicator::class);
 | 
						|
    }
 | 
						|
 | 
						|
    protected function entityProvider(): EntityProvider
 | 
						|
    {
 | 
						|
        return app()->make(EntityProvider::class);
 | 
						|
    }
 | 
						|
}
 |