Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ItemsBox.php
Go to the documentation of this file.
1 <?php
7 
9 use Magento\GiftMessage\Helper\Message as MessageHelper;
11 
15 class ItemsBox
16 {
22  protected $helper;
23 
29  public function __construct(MessageHelper $helper)
30  {
31  $this->helper = $helper;
32  }
33 
44  public function afterGetItemsBoxTextAfter(ShippingBlock $subject, $itemsBoxText, DataObject $addressEntity)
45  {
46  return $itemsBoxText . $this->helper->getInline('multishipping_address', $addressEntity);
47  }
48 }
afterGetItemsBoxTextAfter(ShippingBlock $subject, $itemsBoxText, DataObject $addressEntity)
Definition: ItemsBox.php:44