Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / src / AnalyzerInterface.php
diff --git a/web/modules/contrib/drupalmoduleupgrader/src/AnalyzerInterface.php b/web/modules/contrib/drupalmoduleupgrader/src/AnalyzerInterface.php
new file mode 100644 (file)
index 0000000..d315bdd
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+namespace Drupal\drupalmoduleupgrader;
+
+/**
+ * Interface for plugins which can analyze a target module and flag potential
+ * or existing issues.
+ */
+interface AnalyzerInterface {
+
+  /**
+   * Analyzes a target module and flags any issues found.
+   *
+   * @param TargetInterface $target
+   *  The target module.
+   *
+   * @return \Drupal\drupalmoduleupgrader\IssueInterface[]
+   */
+  public function analyze(TargetInterface $target);
+
+}