mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-10 22:28:23 +00:00
29 lines
710 B
PHP
29 lines
710 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* 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.
|
|
*/
|
|
|
|
namespace Chill\DocGeneratorBundle\Repository;
|
|
|
|
use Chill\DocGeneratorBundle\Entity\DocGeneratorTemplate;
|
|
use Doctrine\Persistence\ObjectRepository;
|
|
|
|
/**
|
|
* @extends ObjectRepository<DocGeneratorTemplate>
|
|
*/
|
|
interface DocGeneratorTemplateRepositoryInterface extends ObjectRepository
|
|
{
|
|
public function countByEntity(string $entity): int;
|
|
|
|
/**
|
|
* @return array|DocGeneratorTemplate[]
|
|
*/
|
|
public function findByEntity(string $entity, ?int $start = 0, ?int $limit = 50): array;
|
|
}
|