Version 1
[yaffs-website] / vendor / alchemy / zippy / src / FileStrategy / FileStrategyInterface.php
1 <?php
2
3 /*
4  * This file is part of Zippy.
5  *
6  * (c) Alchemy <info@alchemy.fr>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Alchemy\Zippy\FileStrategy;
13
14 use Alchemy\Zippy\Adapter\AdapterInterface;
15
16 interface FileStrategyInterface
17 {
18     /**
19      * Returns an array of adapters that match the strategy
20      *
21      * @return AdapterInterface[]
22      */
23     public function getAdapters();
24
25     /**
26      * Returns the file extension that match the strategy
27      *
28      * @return string
29      */
30     public function getFileExtension();
31 }