UserProviderFactoryInterface.php 857 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider;
  11. use Symfony\Component\Config\Definition\Builder\NodeDefinition;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. /**
  14. * UserProviderFactoryInterface is the interface for all user provider factories.
  15. *
  16. * @author Fabien Potencier <fabien@symfony.com>
  17. * @author Christophe Coevoet <stof@notk.org>
  18. */
  19. interface UserProviderFactoryInterface
  20. {
  21. public function create(ContainerBuilder $container, string $id, array $config);
  22. public function getKey();
  23. public function addConfiguration(NodeDefinition $builder);
  24. }