Feature: [person][creation] api for listing availables centers for person creation

This commit is contained in:
2022-11-22 11:18:33 +01:00
parent 1585a73974
commit b06a76784a
7 changed files with 111 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
<?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\PersonBundle\Security;
use Chill\MainBundle\Entity\Center;
interface AuthorizedCenterOnPersonCreationInterface
{
/**
* @return array|Center[]
*/
public function getCenters(): array;
}