
| 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/EntityStoreInterface.php |
<?php
namespace Drupal\commerce_store\Entity;
/**
* Defines a common interface for entities that belong to a single store.
*/
interface EntityStoreInterface {
/**
* Gets the store.
*
* @return \Drupal\commerce_store\Entity\StoreInterface|null
* The store entity, or null.
*/
public function getStore();
/**
* Sets the store.
*
* @param \Drupal\commerce_store\Entity\StoreInterface $store
* The store entity.
*
* @return $this
*/
public function setStore(StoreInterface $store);
/**
* Gets the store ID.
*
* @return int
* The store ID.
*/
public function getStoreId();
/**
* Sets the store ID.
*
* @param int $store_id
* The store ID.
*
* @return $this
*/
public function setStoreId($store_id);
}