1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
8
7
namespace Magento \Catalog \Model \Product \Gallery ;
9
8
10
9
use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterface ;
11
- use Magento \Catalog \Api \Data \ProductInterface as Product ;
12
10
use Magento \Framework \Exception \InputException ;
13
11
use Magento \Framework \Exception \NoSuchEntityException ;
14
12
use Magento \Framework \Exception \StateException ;
15
13
use Magento \Framework \Api \ImageContentValidatorInterface ;
16
14
17
15
/**
16
+ * Class GalleryManagement
17
+ * Provides implementation of api interface ProductAttributeMediaGalleryManagementInterface
18
+ *
18
19
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
19
20
*/
20
21
class GalleryManagement implements \Magento \Catalog \Api \ProductAttributeMediaGalleryManagementInterface
@@ -44,7 +45,7 @@ public function __construct(
44
45
}
45
46
46
47
/**
47
- * { @inheritdoc}
48
+ * @inheritdoc
48
49
*/
49
50
public function create ($ sku , ProductAttributeMediaGalleryEntryInterface $ entry )
50
51
{
@@ -84,7 +85,7 @@ public function create($sku, ProductAttributeMediaGalleryEntryInterface $entry)
84
85
}
85
86
86
87
/**
87
- * { @inheritdoc}
88
+ * @inheritdoc
88
89
*/
89
90
public function update ($ sku , ProductAttributeMediaGalleryEntryInterface $ entry )
90
91
{
@@ -125,7 +126,7 @@ public function update($sku, ProductAttributeMediaGalleryEntryInterface $entry)
125
126
}
126
127
127
128
/**
128
- * { @inheritdoc}
129
+ * @inheritdoc
129
130
*/
130
131
public function remove ($ sku , $ entryId )
131
132
{
@@ -155,7 +156,7 @@ public function remove($sku, $entryId)
155
156
}
156
157
157
158
/**
158
- * { @inheritdoc}
159
+ * @inheritdoc
159
160
*/
160
161
public function get ($ sku , $ entryId )
161
162
{
@@ -176,7 +177,7 @@ public function get($sku, $entryId)
176
177
}
177
178
178
179
/**
179
- * { @inheritdoc}
180
+ * @inheritdoc
180
181
*/
181
182
public function getList ($ sku )
182
183
{
0 commit comments