ConfigurationExtensionInterface.php 834 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\Component\DependencyInjection\Extension;
  11. use Symfony\Component\Config\Definition\ConfigurationInterface;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. /**
  14. * ConfigurationExtensionInterface is the interface implemented by container extension classes.
  15. *
  16. * @author Kevin Bond <kevinbond@gmail.com>
  17. */
  18. interface ConfigurationExtensionInterface
  19. {
  20. /**
  21. * Returns extension configuration.
  22. *
  23. * @return ConfigurationInterface|null The configuration or null
  24. */
  25. public function getConfiguration(array $config, ContainerBuilder $container);
  26. }