Further modules included.
[yaffs-website] / web / modules / contrib / libraries / src / ExternalLibrary / Dependency / DependentLibraryInterface.php
diff --git a/web/modules/contrib/libraries/src/ExternalLibrary/Dependency/DependentLibraryInterface.php b/web/modules/contrib/libraries/src/ExternalLibrary/Dependency/DependentLibraryInterface.php
new file mode 100644 (file)
index 0000000..fd83810
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+namespace Drupal\libraries\ExternalLibrary\Dependency;
+
+use Drupal\libraries\ExternalLibrary\LibraryInterface;
+
+/**
+ * Provides an interface for libraries that depend on other libraries.
+ *
+ * @todo Implement versioned dependencies.
+ */
+interface DependentLibraryInterface extends LibraryInterface {
+
+  /**
+   * Returns the libraries dependencies, if any.
+   *
+   * @return string[]
+   *   An array of library IDs of libraries that the library depends on.
+   */
+  public function getDependencies();
+
+}