
| Current Path : /var/www/html/store/web/modules/contrib/commerce/modules/store/src/Entity/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce/modules/store/src/Entity/EntityStoresInterface.php |
<?php
namespace Drupal\commerce_store\Entity;
/**
* Defines a common interface for entities that belong to one or more stores.
*/
interface EntityStoresInterface {
/**
* Gets the stores.
*
* @return \Drupal\commerce_store\Entity\StoreInterface[]
* The stores.
*/
public function getStores();
/**
* Sets the stores.
*
* @param \Drupal\commerce_store\Entity\StoreInterface[] $stores
* The stores.
*
* @return $this
*/
public function setStores(array $stores);
/**
* Gets the store IDs.
*
* @return int[]
* The store IDs.
*/
public function getStoreIds();
/**
* Sets the store IDs.
*
* @param int[] $store_ids
* The store IDs.
*
* @return $this
*/
public function setStoreIds(array $store_ids);
}