mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
28 lines
522 B
PHP
28 lines
522 B
PHP
<?php
|
|
/*
|
|
*
|
|
*/
|
|
namespace Chill\MainBundle\Center;
|
|
|
|
/**
|
|
* Interface to declare a groups of centers.
|
|
*
|
|
* This interface is used to declare a groups of centers in
|
|
* `Chill\MainBundle\Form\Export\PickCenterType`.
|
|
*
|
|
*/
|
|
interface GroupingCenterInterface
|
|
{
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getGroups($authorizedCenters = null): array;
|
|
|
|
/**
|
|
*
|
|
* @param string $group
|
|
* @return \Chill\MainBundle\Entity\Center[]
|
|
*/
|
|
public function getCentersForGroup($group);
|
|
}
|