mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-26 02:10:19 +08:00
20 lines
415 B
PHP
20 lines
415 B
PHP
<?php
|
|
|
|
namespace BookStack\Entities\Queries;
|
|
|
|
use BookStack\Auth\Permissions\PermissionService;
|
|
use BookStack\Entities\EntityProvider;
|
|
|
|
abstract class EntityQuery
|
|
{
|
|
protected function permissionService(): PermissionService
|
|
{
|
|
return app()->make(PermissionService::class);
|
|
}
|
|
|
|
protected function entityProvider(): EntityProvider
|
|
{
|
|
return app()->make(EntityProvider::class);
|
|
}
|
|
}
|