ItemInterface.php 417 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Checkout\CustomerData;
  7. use Magento\Quote\Model\Quote\Item;
  8. /**
  9. * Item interface
  10. *
  11. * @api
  12. * @since 100.0.2
  13. */
  14. interface ItemInterface
  15. {
  16. /**
  17. * Get item data by quote item
  18. *
  19. * @param Item $item
  20. * @return array
  21. */
  22. public function getItemData(Item $item);
  23. }