RequestDataInterface.php 584 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Request data interface
  8. */
  9. namespace Magento\Config\Model\Config\Backend\File\RequestData;
  10. /**
  11. * @api
  12. * @since 100.0.2
  13. */
  14. interface RequestDataInterface
  15. {
  16. /**
  17. * Retrieve uploaded file tmp name by path
  18. *
  19. * @param string $path
  20. * @return string
  21. */
  22. public function getTmpName($path);
  23. /**
  24. * Retrieve uploaded file name by path
  25. *
  26. * @param string $path
  27. * @return string
  28. */
  29. public function getName($path);
  30. }