UploadConfigInterface.php 605 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Framework\Image\Adapter;
  8. /**
  9. * Interface UploadConfigInterface
  10. * @deprecated moved to proper namespace and extended
  11. * @see \Magento\Backend\Model\Image\UploadResizeConfigInterface;
  12. */
  13. interface UploadConfigInterface
  14. {
  15. /**
  16. * Get maximum image width.
  17. *
  18. * @return int
  19. */
  20. public function getMaxWidth(): int;
  21. /**
  22. * Get maximum image height.
  23. *
  24. * @return int
  25. */
  26. public function getMaxHeight(): int;
  27. }