2021-06-26 17:23:15 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BookStack\Entities\Queries;
|
2021-05-22 15:05:28 +02:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
2021-06-26 17:23:15 +02:00
|
|
|
}
|