Files
chill-bundles/src/Bundle/ChillMainBundle/Security/Resolver/ManagerAwareCenterResolverInterface.php
Julien Fastré 27df3b2c9b Add support for ManagerAwareCenterResolverInterface
Introduce ManagerAwareCenterResolverInterface to ensure resolvers can reference their manager. Added a trait for implementing the interface and updated the CenterResolverManager to initialize resolvers correctly.
2024-09-24 10:58:01 +02:00

23 lines
573 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;
/**
* Center resolver which need the CenterResolverManager.
*
* Appended to @see{CenterResolverInterface} which needs the @{CenterResolverManager} to resolve the center
*/
interface ManagerAwareCenterResolverInterface
{
public function setResolverManager(CenterResolverManagerInterface $manager): void;
}