mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
20 lines
571 B
PHP
20 lines
571 B
PHP
<?php
|
|
|
|
namespace Chill\ActivityBundle\Repository;
|
|
|
|
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
|
use Chill\PersonBundle\Entity\Person;
|
|
|
|
interface ActivityACLAwareRepositoryInterface
|
|
{
|
|
/**
|
|
* @return array|Activity[]
|
|
*/
|
|
public function findByPerson(Person $person, string $role, ?int $start = 0, ?int $limit = 1000, ?array $orderBy = []): array;
|
|
|
|
/**
|
|
* @return array|Activity[]
|
|
*/
|
|
public function findByAccompanyingPeriod(AccompanyingPeriod $period, string $role, ?int $start = 0, ?int $limit = 1000, ?array $orderBy = []): array;
|
|
}
|