FileStrategyInterface.php 628 B

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