Version 1
[yaffs-website] / vendor / alchemy / zippy / src / FileStrategy / FileStrategyInterface.php
diff --git a/vendor/alchemy/zippy/src/FileStrategy/FileStrategyInterface.php b/vendor/alchemy/zippy/src/FileStrategy/FileStrategyInterface.php
new file mode 100644 (file)
index 0000000..1b24f5b
--- /dev/null
@@ -0,0 +1,31 @@
+<?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\FileStrategy;
+
+use Alchemy\Zippy\Adapter\AdapterInterface;
+
+interface FileStrategyInterface
+{
+    /**
+     * Returns an array of adapters that match the strategy
+     *
+     * @return AdapterInterface[]
+     */
+    public function getAdapters();
+
+    /**
+     * Returns the file extension that match the strategy
+     *
+     * @return string
+     */
+    public function getFileExtension();
+}