mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-15 06:44:24 +00:00
29 lines
778 B
PHP
29 lines
778 B
PHP
<?php
|
|
|
|
/**
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Chill\ActivityBundle\Repository;
|
|
|
|
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
|
use Chill\PersonBundle\Entity\Person;
|
|
|
|
interface ActivityACLAwareRepositoryInterface
|
|
{
|
|
/**
|
|
* @return Activity[]|array
|
|
*/
|
|
public function findByAccompanyingPeriod(AccompanyingPeriod $period, string $role, ?int $start = 0, ?int $limit = 1000, ?array $orderBy = []): array;
|
|
|
|
/**
|
|
* @return Activity[]|array
|
|
*/
|
|
public function findByPerson(Person $person, string $role, ?int $start = 0, ?int $limit = 1000, ?array $orderBy = []): array;
|
|
}
|