Version 1
[yaffs-website] / web / core / lib / Drupal / Core / DependencyInjection / ServiceProviderInterface.php
diff --git a/web/core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php b/web/core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php
new file mode 100644 (file)
index 0000000..f8cb491
--- /dev/null
@@ -0,0 +1,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);
+
+}