File tree Expand file tree Collapse file tree 3 files changed +23
-11
lines changed
lib/internal/Magento/Framework/Image/Adapter Expand file tree Collapse file tree 3 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 55 */
66namespace Magento \Framework \Image \Adapter ;
77
8- class Config implements \ Magento \ Framework \ Image \ Adapter \ ConfigInterface
8+ class Config implements ConfigInterface, UploadConfigInterface
99{
1010 const XML_PATH_IMAGE_ADAPTER = 'dev/image/default_adapter ' ;
1111
Original file line number Diff line number Diff line change @@ -20,14 +20,4 @@ public function getAdapterAlias();
2020 * @return array
2121 */
2222 public function getAdapters ();
23-
24- /**
25- * @return int
26- */
27- public function getMaxWidth ();
28-
29- /**
30- * @return int
31- */
32- public function getMaxHeight ();
3323}
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
6+ namespace Magento \Framework \Image \Adapter ;
7+
8+ /**
9+ * Interface UploadConfigInterface
10+ */
11+ interface UploadConfigInterface
12+ {
13+ /**
14+ * @return int
15+ */
16+ public function getMaxWidth ();
17+
18+ /**
19+ * @return int
20+ */
21+ public function getMaxHeight ();
22+ }
You can’t perform that action at this time.
0 commit comments