Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Contract / ConfigAwareInterface.php
diff --git a/vendor/consolidation/robo/src/Contract/ConfigAwareInterface.php b/vendor/consolidation/robo/src/Contract/ConfigAwareInterface.php
new file mode 100644 (file)
index 0000000..6591b4d
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Robo\Contract;
+
+use Consolidation\Config\ConfigInterface;
+
+interface ConfigAwareInterface
+{
+    /**
+     * Set the config reference
+     *
+     * @param ConfigInterface $config
+     *
+     * @return $this
+     */
+    public function setConfig(ConfigInterface $config);
+
+    /**
+     * Get the config reference
+     *
+     * @return ConfigInterface
+     */
+    public function getConfig();
+}