summaryrefslogtreecommitdiffstatshomepage
path: root/core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php
blob: f8cb491c8b9b4ede05a242bcddd8145a21bad152 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace Drupal\Core\DependencyInjection;

/**
 * Interface that all service providers must implement.
 *
 * @ingroup container
 */
interface ServiceProviderInterface {

  /**
   * Registers services to the container.
   *
   * @param ContainerBuilder $container
   *   The ContainerBuilder to register services to.
   */
  public function register(ContainerBuilder $container);

}