WishlistProviderInterface.php 449 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Wishlist\Controller;
  8. /**
  9. * Interface \Magento\Wishlist\Controller\WishlistProviderInterface
  10. *
  11. */
  12. interface WishlistProviderInterface
  13. {
  14. /**
  15. * Retrieve wishlist
  16. *
  17. * @param string $wishlistId
  18. * @return \Magento\Wishlist\Model\Wishlist
  19. */
  20. public function getWishlist($wishlistId = null);
  21. }