mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
cs: Fix code style (safe rules only).
This commit is contained in:
@@ -1,27 +1,33 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
namespace Chill\MainBundle\Center;
|
||||
|
||||
/**
|
||||
* Interface to declare a groups of centers.
|
||||
*
|
||||
* This interface is used to declare a groups of centers in
|
||||
*
|
||||
* 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);
|
||||
|
||||
/**
|
||||
* @param mixed|null $authorizedCenters
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getGroups($authorizedCenters = null): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user