Version 1
[yaffs-website] / vendor / drush / drush / lib / Drush / UpdateService / StatusInfoInterface.php
diff --git a/vendor/drush/drush/lib/Drush/UpdateService/StatusInfoInterface.php b/vendor/drush/drush/lib/Drush/UpdateService/StatusInfoInterface.php
new file mode 100644 (file)
index 0000000..3d3592a
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Interface for update_status engine implementations.
+ */
+
+namespace Drush\UpdateService;
+
+interface StatusInfoInterface {
+
+  /**
+   * Constructor.
+   * @todo this pertains to a yet to be defined EngineInterface.
+   */
+  public function __construct($type, $engine, $config);
+
+  /**
+   * Returns time of last check of available updates.
+   */
+  function lastCheck();
+
+  /**
+   * Refresh update status information.
+   */
+  function refresh();
+
+  /**
+   * Get update information for all installed projects.
+   *
+   * @return Array containing remote and local versions
+   * for all installed projects.
+   */
+  function getStatus($projects, $check_disabled);
+}