ServiceModifierInterface.php 420 B

1234567891011121314151617181920
  1. <?php
  2. namespace Drupal\Core\DependencyInjection;
  3. /**
  4. * Interface that service providers can implement to modify services.
  5. *
  6. * @ingroup container
  7. */
  8. interface ServiceModifierInterface {
  9. /**
  10. * Modifies existing service definitions.
  11. *
  12. * @param ContainerBuilder $container
  13. * The ContainerBuilder whose service definitions can be altered.
  14. */
  15. public function alter(ContainerBuilder $container);
  16. }