You are here

CurrentStoreInterface.php in Commerce Core 8.2

File

modules/store/src/CurrentStoreInterface.php
View source
<?php

namespace Drupal\commerce_store;


/**
 * Holds a reference to the active store, resolved on demand.
 */
interface CurrentStoreInterface {

  /**
   * Gets the active store for the current request.
   *
   * @return \Drupal\commerce_store\Entity\StoreInterface
   *   The active store.
   */
  public function getStore();

}

Interfaces

Namesort descending Description
CurrentStoreInterface Holds a reference to the active store, resolved on demand.