Version 1
[yaffs-website] / vendor / alchemy / zippy / src / Adapter / VersionProbe / VersionProbeInterface.php
diff --git a/vendor/alchemy/zippy/src/Adapter/VersionProbe/VersionProbeInterface.php b/vendor/alchemy/zippy/src/Adapter/VersionProbe/VersionProbeInterface.php
new file mode 100644 (file)
index 0000000..a0c0372
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ * This file is part of Zippy.
+ *
+ * (c) Alchemy <info@alchemy.fr>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ *
+ */
+
+namespace Alchemy\Zippy\Adapter\VersionProbe;
+
+interface VersionProbeInterface
+{
+    const PROBE_OK = 0;
+    const PROBE_NOTSUPPORTED = 1;
+
+    /**
+     * Probes for the support of an adapter.
+     *
+     * @return integer One of the self::PROBE_* constants
+     */
+    public function getStatus();
+}