mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 21:35:16 +08:00
20 lines
424 B
PHP
20 lines
424 B
PHP
<?php
|
|
|
|
namespace BookStack\Entities\Queries;
|
|
|
|
use BookStack\Auth\Permissions\PermissionApplicator;
|
|
use BookStack\Entities\EntityProvider;
|
|
|
|
abstract class EntityQuery
|
|
{
|
|
protected function permissionService(): PermissionApplicator
|
|
{
|
|
return app()->make(PermissionApplicator::class);
|
|
}
|
|
|
|
protected function entityProvider(): EntityProvider
|
|
{
|
|
return app()->make(EntityProvider::class);
|
|
}
|
|
}
|