ServiceProviderInterface.php 390 B

1234567891011121314151617181920
  1. <?php
  2. namespace Drupal\Core\DependencyInjection;
  3. /**
  4. * Interface that all service providers must implement.
  5. *
  6. * @ingroup container
  7. */
  8. interface ServiceProviderInterface {
  9. /**
  10. * Registers services to the container.
  11. *
  12. * @param ContainerBuilder $container
  13. * The ContainerBuilder to register services to.
  14. */
  15. public function register(ContainerBuilder $container);
  16. }