delegates the acl for fetching person documents to an ACLAwareREpository

This commit is contained in:
2022-02-10 00:37:24 +01:00
parent a387305ef8
commit 6fa99655b2
4 changed files with 106 additions and 16 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace Chill\DocStoreBundle\Repository;
use Chill\PersonBundle\Entity\Person;
interface PersonDocumentACLAwareRepositoryInterface
{
public function findByPerson(Person $person, array $orderBy = [], int $limit = 20, int $offset = 0): array;
public function countByPerson(Person $person): int;
}