StoreWebsiteRelationInterface.php 509 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Store\Api;
  7. /**
  8. * Interface StoreWebsiteRelationInterface
  9. * Provides stores information by website id
  10. * @package Magento\Store\Api
  11. * @api
  12. * @since 100.2.0
  13. */
  14. interface StoreWebsiteRelationInterface
  15. {
  16. /**
  17. * Get assigned to website store
  18. * @param int $websiteId
  19. * @return array
  20. * @since 100.2.0
  21. */
  22. public function getStoreByWebsiteId($websiteId);
  23. }