mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
[feature] use internal services to check for acl on exports
This commit is contained in:
@@ -30,6 +30,18 @@ final class CenterRepository implements ObjectRepository
|
||||
return $this->repository->find($id, $lockMode, $lockVersion);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all active centers
|
||||
*
|
||||
* Note: this is a teaser: active will comes later on center entity
|
||||
*
|
||||
* @return Center[]
|
||||
*/
|
||||
public function findActive(): array
|
||||
{
|
||||
return $this->findAll();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Center[]
|
||||
*/
|
||||
|
Reference in New Issue
Block a user