FileTransferFactory.php 428 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\HTTP\Adapter;
  7. class FileTransferFactory
  8. {
  9. /**
  10. * Create HTTP adapter
  11. *
  12. * @param array $options
  13. * @return \Zend_File_Transfer_Adapter_Http
  14. */
  15. public function create(array $options = [])
  16. {
  17. return new \Zend_File_Transfer_Adapter_Http($options);
  18. }
  19. }