AnnotatedContainerInterface.php 800 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Symfony\Components\DependencyInjection;
  3. /*
  4. * This file is part of the symfony framework.
  5. *
  6. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  7. *
  8. * This source file is subject to the MIT license that is bundled
  9. * with this source code in the file LICENSE.
  10. */
  11. /**
  12. * AnnotatedContainerInterface is the interface implemented when a container knows how to deals with annotations.
  13. *
  14. * @package symfony
  15. * @subpackage dependency_injection
  16. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  17. */
  18. interface AnnotatedContainerInterface
  19. {
  20. /**
  21. * Returns service ids for a given annotation.
  22. *
  23. * @param string $name The annotation name
  24. *
  25. * @return array An array of annotations
  26. */
  27. public function findAnnotatedServiceIds($name);
  28. }