X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Falchemy%2Fzippy%2Fsrc%2FFileStrategy%2FZipFileStrategy.php;fp=vendor%2Falchemy%2Fzippy%2Fsrc%2FFileStrategy%2FZipFileStrategy.php;h=dfeb5c76b09daffaba2d7f6f13826af1cf4824d2;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/vendor/alchemy/zippy/src/FileStrategy/ZipFileStrategy.php b/vendor/alchemy/zippy/src/FileStrategy/ZipFileStrategy.php new file mode 100644 index 000000000..dfeb5c76b --- /dev/null +++ b/vendor/alchemy/zippy/src/FileStrategy/ZipFileStrategy.php @@ -0,0 +1,34 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Alchemy\Zippy\FileStrategy; + +class ZipFileStrategy extends AbstractFileStrategy +{ + /** + * {@inheritdoc} + */ + protected function getServiceNames() + { + return array( + 'Alchemy\\Zippy\\Adapter\\ZipAdapter', + 'Alchemy\\Zippy\\Adapter\\ZipExtensionAdapter' + ); + } + + /** + * {@inheritdoc} + */ + public function getFileExtension() + { + return 'zip'; + } +}