mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-17 15:54:23 +00:00
27 lines
817 B
PHP
27 lines
817 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\CalendarBundle\Repository;
|
|
|
|
use Chill\CalendarBundle\Entity\Calendar;
|
|
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
|
use DateTimeImmutable;
|
|
|
|
interface CalendarACLAwareRepositoryInterface
|
|
{
|
|
public function countByAccompanyingPeriod(AccompanyingPeriod $period, ?DateTimeImmutable $startDate, ?DateTimeImmutable $endDate): int;
|
|
|
|
/**
|
|
* @return array|Calendar[]
|
|
*/
|
|
public function findByAccompanyingPeriod(AccompanyingPeriod $period, ?DateTimeImmutable $startDate, ?DateTimeImmutable $endDate, ?array $orderBy = [], ?int $offset = null, ?int $limit = null): array;
|
|
}
|