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 5
5
*/
6
6
namespace Magento \Framework \Image \Adapter ;
7
7
8
- class Config implements \ Magento \ Framework \ Image \ Adapter \ ConfigInterface
8
+ class Config implements ConfigInterface, UploadConfigInterface
9
9
{
10
10
const XML_PATH_IMAGE_ADAPTER = 'dev/image/default_adapter ' ;
11
11
Original file line number Diff line number Diff line change @@ -20,14 +20,4 @@ public function getAdapterAlias();
20
20
* @return array
21
21
*/
22
22
public function getAdapters ();
23
-
24
- /**
25
- * @return int
26
- */
27
- public function getMaxWidth ();
28
-
29
- /**
30
- * @return int
31
- */
32
- public function getMaxHeight ();
33
23
}
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