Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / config / src / Loader / ConfigLoaderInterface.php
diff --git a/vendor/consolidation/config/src/Loader/ConfigLoaderInterface.php b/vendor/consolidation/config/src/Loader/ConfigLoaderInterface.php
new file mode 100644 (file)
index 0000000..9b155c1
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+
+namespace Consolidation\Config\Loader;
+
+/**
+ * Load configuration files, and fill in any property values that
+ * need to be expanded.
+ */
+interface ConfigLoaderInterface
+{
+    /**
+     * Convert loaded configuration into a simple php nested array.
+     *
+     * @return array
+     */
+    public function export();
+
+    /**
+     * Return the top-level keys in the exported data.
+     *
+     * @return array
+     */
+    public function keys();
+
+    /**
+     * Return a symbolic name for this configuration loader instance.
+     */
+    public function getSourceName();
+}