4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- /**
8
- * Wishlist block customer items
9
- *
10
- * @author Magento Core Team <[email protected] >
11
- */
12
7
namespace Magento \Wishlist \Block \Share \Email ;
13
8
14
9
use Magento \Catalog \Model \Product ;
19
14
use Magento \Wishlist \Model \Item ;
20
15
21
16
/**
17
+ * Wishlist share items
18
+ *
22
19
* @api
23
20
* @since 100.0.2
24
21
*/
@@ -36,6 +33,7 @@ class Items extends \Magento\Wishlist\Block\AbstractBlock
36
33
37
34
/**
38
35
* Items constructor.
36
+ *
39
37
* @param \Magento\Catalog\Block\Product\Context $context
40
38
* @param \Magento\Framework\App\Http\Context $httpContext
41
39
* @param array $data
@@ -59,6 +57,7 @@ public function __construct(
59
57
* Identify the product from which thumbnail should be taken.
60
58
*
61
59
* @param Item $item
60
+ *
62
61
* @return Product
63
62
*/
64
63
public function getProductForThumbnail (Item $ item ): Product
@@ -71,6 +70,7 @@ public function getProductForThumbnail(Item $item): Product
71
70
*
72
71
* @param \Magento\Catalog\Model\Product $product
73
72
* @param array $additional
73
+ *
74
74
* @return string
75
75
*/
76
76
public function getProductUrl ($ product , $ additional = [])
@@ -84,6 +84,7 @@ public function getProductUrl($product, $additional = [])
84
84
*
85
85
* @param \Magento\Catalog\Model\Product $product
86
86
* @param array $additional
87
+ *
87
88
* @return string
88
89
*/
89
90
public function getAddToCartUrl ($ product , $ additional = [])
@@ -97,6 +98,7 @@ public function getAddToCartUrl($product, $additional = [])
97
98
* Check whether wishlist item has description
98
99
*
99
100
* @param \Magento\Wishlist\Model\Item $item
101
+ *
100
102
* @return bool
101
103
*/
102
104
public function hasDescription ($ item )
0 commit comments