mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
Partage d'export enregistré et génération asynchrone des exports
This commit is contained in:
@@ -14,18 +14,15 @@ namespace Chill\MainBundle\Repository;
|
||||
use Chill\MainBundle\Entity\UserJob;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
|
||||
/**
|
||||
* @template-extends ObjectRepository<UserJob>
|
||||
*/
|
||||
interface UserJobRepositoryInterface extends ObjectRepository
|
||||
{
|
||||
public function find($id): ?UserJob;
|
||||
|
||||
/**
|
||||
* @return array|UserJob[]
|
||||
*/
|
||||
public function findAll(): array;
|
||||
|
||||
/**
|
||||
* @return array|UserJob[]
|
||||
*/
|
||||
public function findAllActive(): array;
|
||||
|
||||
/**
|
||||
@@ -36,11 +33,14 @@ interface UserJobRepositoryInterface extends ObjectRepository
|
||||
public function findAllOrderedByName(): array;
|
||||
|
||||
/**
|
||||
* @param mixed|null $limit
|
||||
* @param mixed|null $offset
|
||||
* Find all the user job which are not related to a UserGroup.
|
||||
*
|
||||
* @return array|object[]|UserJob[]
|
||||
* This is useful for synchronizing UserGroups with jobs.
|
||||
*
|
||||
* @return list<UserJob>
|
||||
*/
|
||||
public function findAllNotAssociatedWithUserGroup(): array;
|
||||
|
||||
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null);
|
||||
|
||||
public function findOneBy(array $criteria): ?UserJob;
|
||||
|
Reference in New Issue
Block a user