Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / ServiceProvider / ServiceProviderInterface.php
diff --git a/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php b/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php
new file mode 100644 (file)
index 0000000..a48ccfe
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace League\Container\ServiceProvider;
+
+use League\Container\ContainerAwareInterface;
+
+interface ServiceProviderInterface extends ContainerAwareInterface
+{
+    /**
+     * Returns a boolean if checking whether this provider provides a specific
+     * service or returns an array of provided services if no argument passed.
+     *
+     * @param  string $service
+     * @return boolean|array
+     */
+    public function provides($service = null);
+
+    /**
+     * Use the register method to register items with the container via the
+     * protected $this->container property or the `getContainer` method
+     * from the ContainerAwareTrait.
+     *
+     * @return void
+     */
+    public function register();
+}