Version 1
[yaffs-website] / vendor / drush / drush / lib / Drush / Make / Parser / ParserInterface.php
diff --git a/vendor/drush/drush/lib/Drush/Make/Parser/ParserInterface.php b/vendor/drush/drush/lib/Drush/Make/Parser/ParserInterface.php
new file mode 100644 (file)
index 0000000..d9e16a2
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+
+/**
+ * @file
+ * Interface for make file parsing.
+ */
+
+namespace Drush\Make\Parser;
+
+interface ParserInterface {
+
+  /**
+   * Determine if a given file is supported.
+   *
+   * @param string $filename
+   *
+   * @return bool
+   */
+  public static function supportedFile($filename);
+
+  /**
+   * Parse an input string into an array.
+   *
+   * @param string $data
+   *
+   * @return array
+   *   Makefile data as an array.
+   */
+  public static function parse($data);
+
+}