Files
chill-bundles/src/Bundle/ChillMainBundle/Security/Resolver/CenterResolverInterface.php

33 lines
653 B
PHP

<?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\MainBundle\Security\Resolver;
use Chill\MainBundle\Entity\Center;
interface CenterResolverInterface
{
public static function getDefaultPriority(): int;
/**
* @param object $entity
*
* @return Center|Center[]
*/
public function resolveCenter($entity, ?array $options = []);
/**
* @param object $entity
*/
public function supports($entity, ?array $options = []): bool;
}